Improper Preservation of Permissions Affecting jenkins package, versions <0:2.303.3.1637597018-1.el8


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.21% (61st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL8-JENKINS-4399053
  • published26 Mar 2023
  • disclosed4 Nov 2021

Introduced: 4 Nov 2021

CVE-2021-21685  (opens in a new tab)
CWE-281  (opens in a new tab)

How to fix?

Upgrade RHEL:8 jenkins to version 0:2.303.3.1637597018-1.el8 or higher.
This issue was patched in RHSA-2021:4801.

NVD Description

Note: Versions mentioned in the description apply only to the upstream jenkins package and not the jenkins package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

Jenkins 2.318 and earlier, LTS 2.303.2 and earlier does not check agent-to-controller access to create parent directories in FilePath#mkdirs.

CVSS Scores

version 3.1