CVE-2021-21658 XML external entity vulnerability in Jenkins Nuget Plugin

Critical 9.1 Published Updated

An attacker can exploit XML external entity vulnerabilities in the Jenkins Nuget Plugin to read sensitive files or cause denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-21658?

CVE-2021-21658 is a critical vulnerability in Jenkins Nuget Plugin, published on 25 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Jenkins Nuget Plugin 1.0 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks.

Which versions are affected by CVE-2021-21658?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:nuget MavenAll versions1.1
org.jenkins-ci.plugins:nuget MavenAll versions1.1

Products include Jenkins Nuget.

How do I fix CVE-2021-21658?

Upgrade org.jenkins-ci.plugins:nuget to 1.1 or later.

Is CVE-2021-21658 being exploited?

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

Sources

Also known as GHSA-p674-hh8x-rv5h.

Is CVE-2021-21658 in your software?

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

Check your SBOMs for free