Incorrect Permission AssignmentWeakness · CWE-732

CVE-2024-46881

HIGH · 7.1 CVSS v3.1 Published 2025-01-26
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
77/100
Remediation priority · High
Remotely reachable Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Develocity (formerly Gradle Enterprise) before 2024.1.8 has Incorrect Access Control. Project-level access control configuration was introduced in Enterprise Config schema version 8. Migration functionality from schema version 8 to versions 9 and 10 (in affected vulnerable versions) does not include the projects section of the configuration. This leads to all of the project settings being reset to their defaults when the old schema is loaded. In the case of projects.enabled, the default is false. Thus, using an enterprise config v8 results in Project level access control being disabled, even if it was previously enabled, and previously restricted project information disclosed. Most commonly, this occurs when a Develocity instance is upgraded from an earlier version. Specifically, this occurs if: Develocity 2023.3.X is upgraded to 2023.4.X; Develocity 2023.3.X is upgraded to 2024.1.X up to and including 2024.1.7; or Develocity 2023.4.X is upgraded to 2024.1.X up to and including 2024.1.7. The flaw does not occur when upgrading to a fixed version. An upgrade can only be triggered via administrator access, and cannot be forced by an external attacker.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Develocity's schema migration from version 8 to versions 9/10 fails to include the projects section of the configuration, causing all project settings to reset to defaults. Since projects.enabled defaults to false, project-level access control gets disabled during upgrade, allowing previously restricted project information to be disclosed.

MitigationUpgrade to Develocity 2024.1.8 or later. After upgrading from affected versions (2023.3.X or 2023.4.X to 2024.1.X up to 2024.1.7), verify that project-level access control settings are correctly configured and not left at default values.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check the installed Develocity version
    Access the Develocity administration UI or check the version via the Develocity API/CLI tool. Look for the version number in the system information or about page.
    Affected if The installed version is 2024.1.7 or earlier, AND the system was previously at version 2023.3.X or 2023.4.X before the upgrade.
  2. Verify the projects section exists in the configuration
    Inspect the Develocity configuration file (typically in the conf directory or via the admin UI configuration viewer). Look for a 'projects' section with an 'enabled' setting.
    Affected if The projects section is missing or does not contain the enabled setting, indicating the migration failed to preserve project configuration.
  3. Check the projects.enabled setting value
    In the configuration, locate projects.enabled under the projects section. Verify whether it is explicitly set to true or is absent/reset to false.
    Affected if projects.enabled is absent, missing, or set to false (the default), which means project-level access control is disabled.
  4. Confirm project-level access control settings are in place
    Review the project access control settings in the Develocity admin UI under Projects or Access Control. Check if project-specific permissions, visibility rules, or restricted project data configurations exist.
    Affected if Project-level access control settings are absent or reverted to default public visibility, meaning restricted project information may be exposed.

A user is affected if they upgraded from Develocity 2023.3.X or 2023.4.X to version 2024.1.0 through 2024.1.7 and the projects.enabled setting is now absent or set to false, causing project access controls to be disabled.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade to Develocity 2024.1.8 or later. After upgrading from affected versions (2023.3.X or 2023.4.X to 2024.1.X up to 2024.1.7), verify that project-level access control settings are correctly configured and not left at default values.

Recommended fix High confidence

Develocity 2024.1.8 or later

  1. Upgrade Develocity to version 2024.1.8 or later to remediate the schema migration vulnerability
  2. After upgrading, verify that Project-level access control is still properly configured in the Enterprise Config
  3. Confirm that projects.enabled is set to true if project access control was previously enabled
  4. Review audit logs to check for any unauthorized project access that may have occurred during the vulnerable period
Caveat Review Develocity 2024.1.8 release notes for any new features or configuration changes that may affect your setup

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation1.0 h
  • Testing2.0 h
  • Review / QA1.0 h
6.0 hours of engineering $1,060
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,696.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2024-46881 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2024-46881 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data