Skip to content

DoS vulnerability in bundled XStream library in Jenkins Core

Moderate severity GitHub Reviewed Published Feb 10, 2022 to the GitHub Advisory Database • Updated Dec 22, 2023

Package

maven org.jenkins-ci.main:jenkins-core (Maven)

Affected versions

>= 2.320, < 2.334
< 2.319.3

Patched versions

2.334
2.319.3

Description

Jenkins 2.333 and earlier, LTS 2.319.2 and earlier is affected by the XStream library’s vulnerability CVE-2021-43859. This library is used by Jenkins to serialize and deserialize various XML files, like global and job config.xml, build.xml, and numerous others.

This allows attackers able to submit crafted XML files to Jenkins to be parsed as configuration, e.g. through the POST config.xml API, to cause a denial of service (DoS).

References

Published by the National Vulnerability Database Feb 9, 2022
Published to the GitHub Advisory Database Feb 10, 2022
Reviewed Jun 20, 2022
Last updated Dec 22, 2023

Severity

Moderate
6.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weaknesses

CVE ID

CVE-2022-0538

GHSA ID

GHSA-34wx-x2w9-vqm3

Source code

No known source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.