CVSS 3.1
6.5 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:NMedium (6.5) in pysaml2 project pysaml2. EPSS 1.1% estimated probability of exploitation activity in the next 30 days. Fixed in pysaml2 6.5.0.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:Npysaml2 (PyPI): fixed in 6.5.0Explain CVE-2021-21238 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-21238?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-21238?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-21238 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| pysaml2_project:pysaml2 | before 6.5.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-f4g9-h89h-jgv9 | PyPI | pysaml2 | <6.5.0 | 6.5.0 |
| PYSEC-2021-48 | PyPI | pysaml2 | <6.5.0 | 6.5.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | python-pysaml2 | 6.5.1-1 | DEBIAN-CVE-2021-21238 |
| Ubuntu | 18.04:LTS, 20.04:LTS, 22.04:LTS and 1 more | python-pysaml2 | no fix listed | UBUNTU-CVE-2021-21238 |
| SUSE | HPE Helion OpenStack 8 | documentation-hpe-helion-openstack-user, documentation-hpe-helion-openstack-planning, documentation-hpe-helion-openstack-security and 3 more | 8.20210512-1.32.5 | SUSE-SU-2021:2554-1 |
| SUSE | HPE Helion OpenStack 8 | venv-openstack-horizon-hpe | 12.0.5~dev6-14.36.3 | SUSE-SU-2021:2554-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | ardana-cobbler | 8.0+git.1614096566.e8c2b27-3.44.3 | SUSE-SU-2021:2554-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-aodh | 5.1.1~dev7-12.32.3 | SUSE-SU-2021:2554-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-barbican | 5.0.2~dev3-12.33.3 | SUSE-SU-2021:2554-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-ceilometer | 9.0.8~dev7-12.30.3 | SUSE-SU-2021:2554-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-cinder | 11.2.3~dev29-14.34.2 | SUSE-SU-2021:2554-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-designate | 5.0.3~dev7-12.31.3 | SUSE-SU-2021:2554-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-freezer | 5.0.0.0~xrc2~dev2-10.28.3 | SUSE-SU-2021:2554-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-glance | 15.0.3~dev3-12.31.3 | SUSE-SU-2021:2554-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-heat | 9.0.8~dev22-12.33.2 | SUSE-SU-2021:2554-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-ironic | 9.1.8~dev8-12.33.3 | SUSE-SU-2021:2554-1 |
| 64 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Tumbleweed | python-pysaml2 | 7.4.2-1.2 | openSUSE-SU-2024:14156-1 |
| openSUSE | Tumbleweed | python-pysaml2 | 7.5.4-1.1 | openSUSE-SU-2026:11524-1 |
| Alpine | v3.14, v3.15, v3.16 and 8 more | py3-saml2 | 6.5.0-r0 | ALPINE-CVE-2021-21238 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
All versions of Red Hat OpenStack Platform ship but do not use the flawed check-signature functionality of python-pysaml2. The impact for these products is therefore rated as having a security impact of Low and will not be updated at this time.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenStack Platform 10 (Newton) | python-pysaml2 | Out of support scope | |
| Red Hat OpenStack Platform 13 (Queens) | python-pysaml2 | Out of support scope | |
| Red Hat OpenStack Platform 16.1 | python-pysaml2 | Will not fix | |
| Red Hat OpenStack Platform 16.2 | python-pysaml2 | Will not fix |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-21238.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.