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
GHSA-XM96-GFJX-JCRC
Date
Activity
Source
GitHub
GitHub
Vendor
GitHub
GitHub
Threat
high
high
CVSS
8.1
8.1
Summary
### 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…
Product
maven: land.oras:oras-java-sdk
What to do
General, cautious steps (verify details in the official source):
- Prioritize patching or mitigation immediately (treat as actively risky).
- Identify affected product versions in your inventory and verify whether you are impacted.
- Apply vendor patches/updates or recommended mitigations as soon as available.
- Read the official advisory for exact affected versions and remediation steps.