SCA: security update for PyJWT (GHSA-75c5-xw7c-p5pm)

low Tenable Self-Hosted Container Security Plugin ID 411834

Description

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

- pyjwt is a JSON Web Token implementation in Python. An incorrect string comparison is run for `iss`
checking, resulting in `"acb"` being accepted for `"_abc_"`. This is a bug introduced in version 2.10.0:
checking the "iss" claim changed from `isinstance(issuer, list)` to `isinstance(issuer, Sequence)`. Since
str is a Sequnce, but not a list, `in` is also used for string comparison. This results in `if "abc" not
in "__abcd__":` being checked instead of `if "abc" != "__abc__":`. Signature checks are still present so
real world impact is likely limited to denial of service scenarios. This issue has been patched in version
2.10.1. All users are advised to upgrade. There are no known workarounds for this vulnerability.
(CVE-2024-53861)

See Also

https://github.com/advisories/GHSA-75c5-xw7c-p5pm

Plugin Details

Severity: Low

ID: 411834

Version: Revision 1.13

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.51

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

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

CVSS Score Source: CVE-2024-53861

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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:P/RL:O/RC:C

CVSS v4

Risk Factor: Low

Base Score: 2.1

Threat Score: 1.2

Threat Vector: CVSS:4.0/E:P

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/2/2024

Vulnerability Publication Date: 11/29/2024

Reference Information

CVE: CVE-2024-53861

cwe: CWE-697