GHSA-cf7p-gm2m-833m

Suggest an improvement
Source
https://github.com/advisories/GHSA-cf7p-gm2m-833m
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/07/GHSA-cf7p-gm2m-833m/GHSA-cf7p-gm2m-833m.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cf7p-gm2m-833m
Aliases
Related
Published
2023-07-14T21:31:08Z
Modified
2024-09-13T20:24:55.622627Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
cryptography mishandles SSH certificates
Details

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

Database specific
{
    "nvd_published_at": "2023-07-14T20:15:09Z",
    "cwe_ids": [
        "CWE-295"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-07-14T22:14:26Z"
}
References

Affected packages

PyPI / cryptography

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
40.0.0
Fixed
41.0.2

Affected versions

40.*

40.0.0
40.0.1
40.0.2

41.*

41.0.0
41.0.1

Ecosystem specific

{
    "affected_functions": [
        "cryptography.hazmat.primitives.serialization.ssh.SSHCertificateBuilder.sign"
    ]
}