SCA: security update for urllib3 (GHSA-hmv2-79q8-fv6g)

high Tenable Self-Hosted Container Security Plugin ID 415848

Description

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

- The _encode_invalid_chars function in util/url.py in the urllib3 library 1.25.2 through 1.25.7 for Python
allows a denial of service (CPU consumption) because of an inefficient algorithm. The percent_encodings
array contains all matches of percent encodings. It is not deduplicated. For a URL of length N, the size
of percent_encodings may be up to O(N). The next step (normalize existing percent-encoded bytes) also
takes up to O(N) for each step, so the total time is O(N^2). If percent_encodings were deduplicated, the
time to compute _encode_invalid_chars would be O(kN), where k is at most 484 ((10+6*2)^2). (CVE-2020-7212)

See Also

https://github.com/advisories/GHSA-hmv2-79q8-fv6g

Plugin Details

Severity: High

ID: 415848

Version: Revision 1.6

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: 3

Percentile: 23.18

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2020-7212

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 6.6

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/30/2021

Vulnerability Publication Date: 3/6/2020

Reference Information

CVE: CVE-2020-7212

cwe: CWE-400