CVE-2023-35147 Arbitrary file read vulnerability in Jenkins AWS CodeCommit Trigger Plugin

Medium 6.5 Published Updated

Attackers with Item/Read permission can read arbitrary files on the Jenkins controller via an unrestricted path parameter in the AWS CodeCommit Trigger Plugin.

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

What is CVE-2023-35147?

CVE-2023-35147 is a medium-severity path traversal vulnerability in Jenkins AWS CodeCommit Trigger Plugin, published on 14 Jun 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins AWS CodeCommit Trigger Plugin 3.0.12 and earlier does not restrict the AWS SQS queue name path parameter in an HTTP endpoint, allowing attackers with Item/Read permission to obtain the contents of arbitrary files on the Jenkins controller file system.

Weakness: CWE-732

Which versions are affected by CVE-2023-35147?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:aws-codecommit-trigger MavenAll versions to 3.0.12None
org.jenkins-ci.plugins:aws-codecommit-trigger MavenAll versions to 3.0.12None

Products include Jenkins Aws Codecommit Trigger.

How do I fix CVE-2023-35147?

No fix has been published for CVE-2023-35147 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-2023-35147 being exploited?

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

Sources

Also known as GHSA-whgj-6m78-2gg9.

Is CVE-2023-35147 in your software?

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

Check your SBOMs for free