RHEL 8 : OpenShift Container Platform 4.6.51 (RHSA-2021:4799)

critical Nessus Plugin ID 155831

Synopsis

The remote Red Hat host is missing one or more security updates.

Description

The remote Redhat Enterprise Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2021:4799 advisory.

- jenkins: FilePath#mkdirs does not check permission to create parent directories (CVE-2021-21685)

- jenkins: File path filters do not canonicalize paths, allowing operations to follow symbolic links to outside allowed directories (CVE-2021-21686)

- jenkins: FilePath#untar does not check permission to create symbolic links when unarchiving a symbolic link (CVE-2021-21687)

- jenkins: FilePath#reading(FileVisitor) does not reject any operations allowing users to have unrestricted read access (CVE-2021-21688)

- jenkins: FilePath#unzip and FilePath#untar were not subject to any access control (CVE-2021-21689)

- jenkins: Agent processes are able to completely bypass file path filtering by wrapping the file operation in an agent file path (CVE-2021-21690)

- jenkins: Creating symbolic links is possible without the symlink permission (CVE-2021-21691)

- jenkins: The operations FilePath#renameTo and FilePath#moveAllChildrenTo only check read permission on the source path (CVE-2021-21692)

- jenkins: When creating temporary files, permission to create files is only checked after they've been created. (CVE-2021-21693)

- jenkins: FilePath#toURI, FilePath#hasSymlink, FilePath#absolutize, FilePath#isDescendant, and FilePath#get*DiskSpace do not check any permissions (CVE-2021-21694)

- jenkins: FilePath#listFiles lists files outside directories with agent read access when following symbolic links. (CVE-2021-21695)

- jenkins: Agent-to-controller access control allowed writing to sensitive directory used by Pipeline:
Shared Groovy Libraries Plugin (CVE-2021-21696)

- jenkins: Agent-to-controller access control allows reading/writing most content of build directories (CVE-2021-21697)

- jenkins-2-plugins/subversion: does not restrict the name of a file when looking up a subversion key (CVE-2021-21698)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected jenkins and / or jenkins-2-plugins packages.

See Also

https://access.redhat.com/security/cve/CVE-2021-21685

https://access.redhat.com/security/cve/CVE-2021-21686

https://access.redhat.com/security/cve/CVE-2021-21687

https://access.redhat.com/security/cve/CVE-2021-21688

https://access.redhat.com/security/cve/CVE-2021-21689

https://access.redhat.com/security/cve/CVE-2021-21690

https://access.redhat.com/security/cve/CVE-2021-21691

https://access.redhat.com/security/cve/CVE-2021-21692

https://access.redhat.com/security/cve/CVE-2021-21693

https://access.redhat.com/security/cve/CVE-2021-21694

https://access.redhat.com/security/cve/CVE-2021-21695

https://access.redhat.com/security/cve/CVE-2021-21696

https://access.redhat.com/security/cve/CVE-2021-21697

https://access.redhat.com/security/cve/CVE-2021-21698

https://access.redhat.com/errata/RHSA-2021:4799

https://bugzilla.redhat.com/2020322

https://bugzilla.redhat.com/2020323

https://bugzilla.redhat.com/2020324

https://bugzilla.redhat.com/2020327

https://bugzilla.redhat.com/2020335

https://bugzilla.redhat.com/2020336

https://bugzilla.redhat.com/2020338

https://bugzilla.redhat.com/2020339

https://bugzilla.redhat.com/2020341

https://bugzilla.redhat.com/2020342

https://bugzilla.redhat.com/2020343

https://bugzilla.redhat.com/2020344

https://bugzilla.redhat.com/2020345

https://bugzilla.redhat.com/2020385

Plugin Details

Severity: Critical

ID: 155831

File Name: redhat-RHSA-2021-4799.nasl

Version: 1.9

Type: local

Agent: unix

Published: 12/3/2021

Updated: 5/24/2023

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2021-21696

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:redhat:enterprise_linux:8, p-cpe:/a:redhat:enterprise_linux:jenkins, p-cpe:/a:redhat:enterprise_linux:jenkins-2-plugins

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Exploit Ease: No known exploits are available

Patch Publication Date: 12/2/2021

Vulnerability Publication Date: 11/4/2021

Reference Information

CVE: CVE-2021-21685, CVE-2021-21686, CVE-2021-21687, CVE-2021-21688, CVE-2021-21689, CVE-2021-21690, CVE-2021-21691, CVE-2021-21692, CVE-2021-21693, CVE-2021-21694, CVE-2021-21695, CVE-2021-21696, CVE-2021-21697, CVE-2021-21698

CWE: 22, 276, 281, 59, 863

IAVA: 2021-A-0551-S

RHSA: 2021:4799