SCA: security update for SharpZipLib (GHSA-2x7h-96h5-rq84)

medium Tenable Cloud Security Plugin ID 409160

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- SharpZipLib (or #ziplib) is a Zip, GZip, Tar and BZip2 library. Starting version 1.3.0 and prior to
version 1.3.3, a check was added if the destination file is under destination directory. However, it is
not enforced that `destDir` ends with slash. If the `destDir` is not slash terminated like
`/home/user/dir` it is possible to create a file with a name thats begins with the destination directory,
i.e. `/home/user/dir.sh`. Because of the file name and destination directory constraints, the arbitrary
file creation impact is limited and depends on the use case. Version 1.3.3 contains a patch for this
vulnerability. (CVE-2021-32841)

See Also

https://github.com/advisories/GHSA-2x7h-96h5-rq84

Plugin Details

Severity: Medium

ID: 409160

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

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

CVSS Score Source: CVE-2021-32841

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.8

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/1/2022

Vulnerability Publication Date: 1/26/2022

Reference Information

CVE: CVE-2021-32841

cwe: CWE-22