CVE-2022-27199 Missing permission checks in AWS Credentials Plugin

Medium 4.3 Published Updated

Attackers with read access can connect to AWS services using arbitrary tokens due to missing permission checks in the Jenkins AWS Credentials Plugin.

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-2022-27199?

CVE-2022-27199 is a medium-severity missing authorization vulnerability in Jenkins CloudBees AWS Credentials Plugin, published on 15 Mar 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A missing permission check in Jenkins CloudBees AWS Credentials Plugin 189.v3551d5642995 and earlier allows attackers with Overall/Read permission to connect to an AWS service using an attacker-specified token.

Weakness: CWE-862

Which versions are affected by CVE-2022-27199?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:aws-credentials MavenAll versions191.vcb_f183ce58b_9
org.jenkins-ci.plugins:aws-credentials MavenAll versions191.vcb_f183ce58b_9

Products include Jenkins Cloudbees Aws Credentials.

How do I fix CVE-2022-27199?

Upgrade org.jenkins-ci.plugins:aws-credentials to 191.vcb_f183ce58b_9 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2022-27199 being exploited?

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

Sources

Also known as GHSA-m9gv-4523-jffm.

Is CVE-2022-27199 in your software?

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

Check your SBOMs for free