CVE-2024-28253 in the critical feed json
SpEL Injection in `PUT /api/v1/policies` in OpenMetadata
published 2024-03-15 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-1147 , GHSA-7vf4-x5m2-r6gr
- cvss
- 9.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 12.5%
- EPSS 12.5% chance of exploitation in 30 days, percentile 96%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
OpenMetadata is a unified platform for discovery, observability, and governance powered by a central metadata repository, in-depth lineage, and seamless team collaboration. `CompiledRule::validateExpression` is also called from `PolicyRepository.prepare`. `prepare()` is called from `EntityRepository.prepareInternal()` which, in turn, gets called from `EntityResource.createOrUpdate()`. Note that even though there is an authorization check (`authorizer.authorize()`), it gets called after `prepareInternal()` gets called and therefore after the SpEL expression has been evaluated. In order to reach this method, an attacker can send a PUT request to `/api/v1/policies` which gets handled by `PolicyResource.createOrUpdate()`. This vulnerability was discovered with the help of CodeQL's Expression language injection (Spring) query and is also tracked as `GHSL-2023-252`. This issue may lead to Remote Code Execution and has been addressed in version 1.3.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Patch / fix
- maven org.open-metadata:openmetadata-service 1.3.1
- openmetadata openmetadata 1.3.1
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
12.53% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template OpenMetaData - SpEL Injection in PUT /api/v1/policies nuclei detection template
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L |
| GitHub | 3.1 | 9.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.open-metadata:openmetadata-service | <1.3.1 |
1.3.1 |
Affected products
- open-metadata OpenMetadata
- openmetadata openmetadata
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/open-metadata/OpenMetadata/security/advisories/GHSA-7vf4-x5m2-r6gr
web, vendor-advisory
-
codeql.github.com
/codeql-query-help/java/java-spel-expression-injection
web, not-applicable
-
github.com
/open-metadata/OpenMetadata/blob/b6b337e09a05101506a5faba4b45d370cc3c9fc8/openmetadata-service/src/main/java/o
web, product
-
github.com
/open-metadata/OpenMetadata/blob/b6b337e09a05101506a5faba4b45d370cc3c9fc8/openmetadata-service/src/main/java/o
web, product
-
github.com
/open-metadata/OpenMetadata/blob/b6b337e09a05101506a5faba4b45d370cc3c9fc8/openmetadata-service/src/main/java/o
web, product
-
github.com
/open-metadata/OpenMetadata/blob/main/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/Policy
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2024-28253
advisory
-
github.com
/open-metadata/OpenMetadata
package
-
securitylab.github.com
/advisories/GHSL-2023-235_GHSL-2023-237_Open_Metadata
advisory
Sources
- CVE List CVE-2024-28253
- GitHub Advisory GHSA-7vf4-x5m2-r6gr
- NVD CVE-2024-28253
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.