LOW 3.1

CVE-2020-2105

Jenkins REST APIs vulnerable to clickjacking

Description

Jenkins 2.218 and earlier, LTS 2.204.1 and earlier does not serve the X-Frame-Options: deny HTTP header on REST API responses to protect against clickjacking attacks. An attacker could exploit this by routing the victim through a specially crafted web page that embeds a REST API endpoint in an iframe and tricking the user into performing an action which would allow for the attacker to learn the content of that REST API endpoint.

Jenkins 2.219, LTS 2.204.2 now adds the X-Frame-Options: deny HTTP header to REST API responses, which prevents these types of clickjacking attacks.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.jenkins-ci.main » jenkins-core
< 2.204.2>= 2.205, < 2.219
2.204.2, 2.219

Blast radius

1affected artifacts
1,813affected versions
101dependent artifacts (est.)
3,575dependent versions

41% of the dependent artifacts (42) still pull an affected version in their latest release.

DepthDependent versions
Direct
2,677
2 hops
694
3 hops
31
4 hops
81
5 hops
26
6 hops
66

Most used dependents

Computed from the dependency graph of build 20261127.1117 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Packagegithub.com
Webgithub.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webjenkins.io
Webopenwall.com