Zurück zur Liste

ORAS Java: Path traversal in pullArtifact via attacker-controlled org.opencontainers.image.title annotation — GHSA-XM96-GFJX-JCRC

GitHub · GitHub · GHSA-XM96-GFJX-JCRC

ID
GHSA-XM96-GFJX-JCRC
Datum
Activity
Quelle
GitHub
Vendor
GitHub
Risiko
high
CVSS
8.1

Zusammenfassung

### Summary The `pullArtifact` methods in `Registry` and `OCILayout` use the `org.opencontainers.image.title` annotation from a pulled manifest as a filename, resolving it against the caller supplied output directory without normalization or a containment check. A manifest publisher can set this annotation to a path that escapes the output directory, causing the SDK to write the layer's blob anywhere the JVM…

Produkt

maven: land.oras:oras-java-sdk

Was tun?

Allgemeine, vorsichtige Schritte (bitte prüfe die offizielle Quelle für Details):

  • Priorisiere sofort Patches oder Mitigations (hohes akutes Risiko).
  • Identifiziere betroffene Produktversionen und prüfe, ob du betroffen bist.
  • Spiele Hersteller-Updates/Patches ein oder setze empfohlene Mitigations um.
  • Lies das offizielle Advisory für betroffene Versionen und konkrete Schritte.

Offizielles Advisory

Mehr dazu