SCA: security update for SharpZipLib (GHSA-mm6g-mmq6-53ff)

medium Tenable Self-Hosted Container Security Plugin ID 417024

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.0.0 and prior to
version 1.3.3, a check was added if the destination file is under a destination directory. However, it is
not enforced that `_baseDirectory` ends with slash. If the _baseDirectory is not slash terminated like
`/home/user/dir` it is possible to create a file with a name thats begins as the destination directory one
level up from the 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
fixed this vulnerability. (CVE-2021-32842)

See Also

https://github.com/advisories/GHSA-mm6g-mmq6-53ff

Plugin Details

Severity: Medium

ID: 417024

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-32842

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-32842

cwe: CWE-22