CVE-2024-5273 Jenkins Report Info Plugin Path Traversal vulnerability

Medium 4.3 Published Updated

Attackers with Item/Configure permission can read arbitrary files on the Jenkins controller by manipulating the workspace path in the Report Info Plugin.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-5273?

CVE-2024-5273 is a medium-severity path traversal vulnerability in Jenkins Report Info Plugin, published on 24 May 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Jenkins Report Info Plugin 1.2 and earlier does not perform path validation of the workspace directory while serving report files, allowing attackers with Item/Configure permission to retrieve Surefire failures, PMD violations, Findbugs bugs, and Checkstyle errors on the controller file system by editing the workspace path.

Weakness: CWE-22

Which versions are affected by CVE-2024-5273?

2 open source packages ship an affected version, including org.jenkins-ci.plugins:report-info. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.plugins:report-info MavenAll versions to 1.2None
org.jenkins-ci.plugins:report-info MavenAll versions to 1.2None

Products include Jenkins Report Info.

How do I fix CVE-2024-5273?

No fix has been published for CVE-2024-5273 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2024-5273 being exploited?

There is no known exploitation of CVE-2024-5273 in the wild and no public exploit code.

Sources

Also known as GHSA-cw5r-jx8r-9f7x.

Is CVE-2024-5273 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free