GHSA-xm96-gfjx-jcrc: ORAS Java: Path traversal in pullArtifact via attacker-controlled org.opencontainers.image.title annotation
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 process can write.
References
Code Behaviors & Features
Detect and mitigate GHSA-xm96-gfjx-jcrc with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →