Alpine: multiple py3-saml2 packages: security update to 6.4.1-r1

medium Tenable Self-Hosted Container Security Plugin ID 406706

Description

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

- PySAML2 is a pure python implementation of SAML Version 2 Standard. PySAML2 before 6.5.0 has an improper
verification of cryptographic signature vulnerability. Users of pysaml2 that use the default
CryptoBackendXmlSec1 backend and need to verify signed SAML documents are impacted. PySAML2 does not
ensure that a signed SAML document is correctly signed. The default CryptoBackendXmlSec1 backend is using
the xmlsec1 binary to verify the signature of signed SAML documents, but by default xmlsec1 accepts any
type of key found within the given document. xmlsec1 needs to be configured explicitly to only use only
_x509 certificates_ for the verification process of the SAML document signature. This is fixed in PySAML2
6.5.0. (CVE-2021-21239)

See Also

https://security.alpinelinux.org/vuln/CVE-2021-21239

Plugin Details

Severity: Medium

ID: 406706

Version: Revision 1.25

Type: Local

Published: 10/31/2023

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.18

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.4

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

CVSS Score Source: CVE-2021-21239

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.9

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 1/20/2021

Reference Information

CVE: CVE-2021-21239