WaratekVRT Sign in

CVE-2024-36116 Reposilite

Affected softwareReposilite
Severity9.8 Critical CVSS 3.1 2 scores
Fixed in3.5.12
WeaknessPath traversal (CWE-22)
Published19 Jun 2024
Updated17 Jun 2026

Description

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.

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: no, technical impact: total.
  • Indexed PoC none indexed
  • EPSS 1.5% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-22: Path Traversal.
Candidate fix https://github.com/dzikoysk/reposilite/commit/848173738e4375482c70365db5cebae29f125eaa : a commit: the change itself

How to mitigate CVE-2024-36116

Upgrade Reposilite to 3.5.12 or later. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

9.8 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 3.1 7.5 HIGH CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H security-advisories@github.com Secondary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
com.reposilite:reposilite-backend 3.3.0 3.5.12 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv com.reposilite reposilite-backend generic ≥ 3.3.0 and < 3.5.12
nvd reposilite reposilite generic ≥ 3.3.0 and < 3.5.12

References

URLTags
https://github.com/dzikoysk/reposilite/commit/848173738e4375482c70365db5cebae29f125eaa commit
https://github.com/dzikoysk/reposilite/security/advisories/GHSA-frvj-cfq4-3228 WEB
https://github.com/dzikoysk/reposilite PACKAGE
https://github.com/dzikoysk/reposilite/releases/tag/3.5.12 WEB

Timeline

Published2024-06-19By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.