WaratekVRT Sign in

CVE-2024-28847 OpenMetadata

Affected softwareOpenMetadata
Severity8.8 High CVSS 3.1
Fixed in1.2.4
WeaknessCode injection (CWE-94)
Published15 Mar 2024
Updated17 Jun 2026

Description

OpenMetadata is a unified platform for discovery, observability, and governance powered by a central metadata repository, in-depth lineage, and seamless team collaboration. Similarly to the GHSL-2023-250 issue, AlertUtil::validateExpression is also called from EventSubscriptionRepository.prepare(), which can lead to Remote Code Execution. 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/events/subscriptions which gets handled by EventSubscriptionResource.createOrUpdateEventSubscription(). This vulnerability was discovered with the help of CodeQL's Expression language injection (Spring) query. This issue may lead to Remote Code Execution and has been addressed in version 1.2.4. Users are advised to upgrade. There are no known workarounds for this vulnerability. This issue is also tracked as GHSL-2023-251.

Exploitation status

Exploited

Real-world exploitation reported by VulnCheck KEV. CISA has not confirmed it.

  • CISA KEV not listed
  • VulnCheck KEV listed Exploitation reported in the wild. 1 citation · earliest 2024-04-17.
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: no, technical impact: total.
  • Indexed PoC none indexed
  • EPSS 2.4% chance in 30 days

VulnCheck KEV

Exploitation evidence from VulnCheck Known Exploited Vulnerabilities (VulnCheck KEV), used under VulnCheck's community terms. View CVE-2024-28847 in VulnCheck (free account).

EvidenceSourceDetailDate
Reported exploitation microsoft.com /en-us/security/blog/2024/04/17/attackers-exploiting-new-critical-openmetadata-vulnerabilities-on-kubernetes-clusters 2024-04-17

Waratek protection

Mitigation candidate

A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.

  • Protection none
  • Action unverified
  • Review automated Inferred
  • Record active
Decided by A reference pointing at the upstream fix: a commit, a PR, a Red Hat bug
Finding A reference points at an upstream fix (advisory tier): https://github.com/open-metadata/OpenMetadata/security/advisories/GHSA-8p5r-6mvv-2435. That makes this CVE a candidate for an ARMR patch rule — it is the kind of defect ARMR can address, and there is a fix to work from. No rule exists and none is scheduled: writing one means reading the linked change and finding a hook point ARMR can express it at, which may turn out not to exist.
Candidate fix https://github.com/open-metadata/OpenMetadata/security/advisories/GHSA-8p5r-6mvv-2435 : the maintainers' own security advisory: names the version that fixes it, so the fix is the difference between two releases

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.open-metadata:openmetadata-service 0 1.2.4 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
nvd open-metadata openmetadata generic < 1.2.4
osv org.open-metadata openmetadata-service generic < 1.2.4

References

URLTags
https://github.com/open-metadata/OpenMetadata/security/advisories/GHSA-8p5r-6mvv-2435 advisory
https://codeql.github.com/codeql-query-help/java/java-spel-expression-injection WEB
https://github.com/open-metadata/OpenMetadata PACKAGE
https://github.com/open-metadata/OpenMetadata/blob/b6b337e09a05101506a5faba4b45d370cc3c9fc8/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/EntityRepository.java#L693 WEB
https://github.com/open-metadata/OpenMetadata/blob/b6b337e09a05101506a5faba4b45d370cc3c9fc8/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/EventSubscriptionRepository.java#L69-L83 WEB
https://github.com/open-metadata/OpenMetadata/blob/b6b337e09a05101506a5faba4b45d370cc3c9fc8/openmetadata-service/src/main/java/org/openmetadata/service/resources/EntityResource.java#L219 WEB
https://github.com/open-metadata/OpenMetadata/blob/b6b337e09a05101506a5faba4b45d370cc3c9fc8/openmetadata-service/src/main/java/org/openmetadata/service/resources/events/subscription/EventSubscriptionResource.java#L289 WEB
https://securitylab.github.com/advisories/GHSL-2023-235_GHSL-2023-237_Open_Metadata ADVISORY

Timeline

Published2024-03-15By the CVE Program.
VulnCheck KEV: earliest evidence2024-04-17Date of the oldest evidence of exploitation in VulnCheck KEV's record. VulnCheck does not publish the date it listed the CVE.
NVD record modified2026-06-17NVD's own last-modified date for this record.