Path traversal in Reposilite javadoc file expansion
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
Reposilite is an open source, lightweight and easy-to-use repository manager for Maven based artifacts in JVM ecosystem. Reposilite provides support for JavaDocs files, which are archives that contain documentation for artifacts. Specifically, JavadocEndpoints.kt controller allows to expand the javadoc archive into the server's file system and return its content. The problem is in the way how the archives are expanded, specifically how the new filename is created. The `file.name` taken from the archive can contain path traversal characters, such as '/../../../anything.txt', so the resulting extraction path can be outside the target directory. If the archive is taken from an untrusted source, such as Maven Central or JitPack for example, an attacker can craft a special archive to overwrite any local file on Reposilite instance. This could lead to remote code execution, for example by placing a new plugin into the '$workspace$/plugins' directory. Alternatively, an attacker can overwrite the content of any other package. Note that the attacker can use its own malicious package from Maven Central to overwrite any other package on Reposilite. Reposilite has addressed this issue in version 3.5.12. Users are advised to upgrade. There are no known workarounds for this vulnerability. This issue was discovered and reported by the GitHub Security lab and is also tracked as GHSL-2024-073.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| dzikoysk | reposilite | 3.3.0 to before 3.5.12 | 3.5.12 | Patch available | CNA |
| — | com.reposilite:reposilite-backend (Maven) | 3.3.0 to before 3.5.12 | 3.5.12 | Patch available | GHSA-frvj-cfq4-3228 |
- reposilite Vendordzikoysk Affected 3.3.0 to before 3.5.12 Fixed in 3.5.12 Patch available CNA
- com.reposilite:reposilite-backend (Maven) Vendor— Affected 3.3.0 to before 3.5.12 Fixed in 3.5.12 Patch available GHSA-frvj-cfq4-3228
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:reposilite:reposilite:*:*:*:*:*:*:*:* | 3.3.0 to before 3.5.12 | Vulnerable | Reposilite |
- cpe:2.3:a:reposilite:reposilite:*:*:*:*:*:*:*:* Versions 3.3.0 to before 3.5.12 Vulnerable ·Reposilite
Remediation
- Fix · CNA reposilite (dzikoysk) Fixed in 3.5.12
- Fix · GHSA-frvj-cfq4-3228 com.reposilite:reposilite-backend (Maven) Fixed in 3.5.12 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-36116
- 2026-10-03 Alias added: GHSA-frvj-cfq4-3228
References
More dzikoysk vulnerabilities
- TI-2024-23945 Stored Cross site scripting in Reposilite artifacts CVSS 3.1HIGH 7.1
Sources
- CVE-2024-36116 · CVE Program
- CVE-2024-36116 · NVD
- FIRST EPSS
- GHSA-frvj-cfq4-3228 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences