CVE-2024-28151 Jenkins HTML Publisher Plugin Path traversal vulnerability

Medium 4.3 Published Updated

Attackers with Item/Configure permission can determine if specific paths exist on the Jenkins controller file system via symbolic link handling.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-28151?

CVE-2024-28151 is a medium-severity path traversal vulnerability in Jenkins HTML Publisher Plugin, published on 6 Mar 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins HTML Publisher Plugin 1.32 and earlier archives invalid symbolic links in report directories on agents and recreates them on the controller, allowing attackers with Item/Configure permission to determine whether a path on the Jenkins controller file system exists, without being able to access it.

Weakness: CWE-22

Which versions are affected by CVE-2024-28151?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:htmlpublisher MavenAll versions1.32.1
org.jenkins-ci.plugins:htmlpublisher MavenAll versions1.32.1

Products include Jenkins Html Publisher.

How do I fix CVE-2024-28151?

Upgrade org.jenkins-ci.plugins:htmlpublisher to 1.32.1 or later.

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

Is CVE-2024-28151 being exploited?

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

Sources

Also known as GHSA-478x-m3mx-7j3f.

Is CVE-2024-28151 in your software?

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

Check your SBOMs for free