CVE-2023-23931

MEDIUMNVD 4.86.5
EchelonGraph scoreMEDIUM confidence

“▲” beside the score: it is higher than NVD's CVSS score.

Score 6.5 from GitHub Security Advisory (severity: MODERATE) published 2023-02-07. NVD baseline CVSS 4.8; sources differ by 1.7.

Triggered by: GitHub Security Advisory CVSS
Sources: EPSS, GitHub Security Advisory, NVD CVSS v3
Elevated

Also known asEUVD-2023-0058 (ENISA EUVD) · GHSA-w7pp-m8wf-vj6r (GitHub Security Advisories) · PYSEC-2023-11 (OSV.dev)Source: ENISA EUVD

6.5EG
EchelonGraph verdictPlan a fixRemediate within your standard update timelines (the SSVC decision on this page).
  • CISA's Vulnrichment rates exploitation as PoC; EchelonGraph holds no exploit-code reference for it
CISA-KEV: Not listedEPSS PROB: 1.3%CVSS: 4.8Exploit: No code on recordExposed services: Not assessed

A fix is available — apply it.

cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. In affected versions Cipher.update_into would accept Python objects which implement the buffer protocol, but provide only immutable buffers. This would allow immutable objects (such as bytes) to be mutated, thus violating fundamental rules of Python and resulting in corrupted output. This now correctly raises an exception. This issue has been present since update_into was originally introduced in cryptography 1.8.

CVSS v3
4.8
EG Score
6.5MEDIUMmedium confidence
EG Risk
45
EG Risk 45/100

EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.

How it’s computed (value × EchelonGraph’s weight)
Severity65% × 45%
Impact severity (EG Severity): CVSS 6.5 of 10. Never the KEV-floored or EPSS-lifted EG Score.
Exploitation40% × 40%
EchelonGraph's fixed weight for EG-KEV Tier 3 (Elevated): a constant, not a probability.
Automatability0% × 15%
CISA's SSVC Automatable value: no (Vulnrichment).
SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Track* at high (mission-essential systems).
Exploitation public PoC (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.
Action: A fix is available. Apply it within your standard update timelines.
EPSS PROB
1.3%
EPSS %ILE
71st
KEV
Not listed

What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)

The EG score (6.5): severity, escalated by confirmed exploitation. This CVE's 6.5 is its impact severity (EG Severity), not escalated.

EG Severity
6.5 MEDIUMCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
EG Likelihood
1.3% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-11-20). FIRST's exploitation probability, not an EchelonGraph model.
Confirmed exploitation
None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
EG Priority
SSVC Track at medium mission impactTrack at low or medium mission impact; Track* at high (mission-essential systems).CISA BOD 26-04: 60 days if the affected system is publicly exposed; Fix on system upgrade if it is not.Each input and its source, and whom BOD 26-04 binds: the SSVC and BOD 26-04 blocks below.

SSVC (CISA's decision table, applied by EchelonGraph)Track at low or medium mission impact; Track* at high (mission-essential systems).

A fix is available. Apply it within your standard update timelines.

Exploitation public PoC (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table

BOD 26-04 (CISA's remediation timeline, Table 1)60 days if the affected system is publicly exposed; Fix on system upgrade if it is not.

The score's inputs: In CISA KEV no (CISA's KEV catalog) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it

Source timeline

Each source's own date for this CVE, as that source states it, in UTC. For vendor and authority advisories, each publisher's earliest advisory is shown, for at most 12 publishers, and only for publishers whose advisory dates we hold as the publisher's own publication time. The EchelonGraph column shows when our collectors recorded the event, only where that was within 72 hours of the source's date (for a row without one, of the CVE's publication).

SourceEventSource's dateRecorded by EchelonGraphLink
CVE.orgMITRE · CVE ProgramCVE Record published7 Feb 2023, 20:54 UTCrecorded later, in a bulk import or a late collectionCVE.org record
GitHub Advisory DatabaseGitHub Advisory Database (CC BY 4.0)LicenceGitHub advisory publishedGHSA-w7pp-m8wf-vj6r7 Feb 2023, 20:54 UTCrecorded later, in a bulk import or a late collectionGitHub advisory
Red Hat Product Security© Red Hat, Inc. (CC BY 4.0)LicenceVendor advisory publishedRHSA-2023:469321 Aug 2023, 21:53 UTCrecorded later, in a bulk import or a late collectionRed Hat Product Security advisory
CVE.orgMITRE · CVE ProgramCVE Record last updated3 Nov 2025, 21:47 UTC—CVE.org record

Patch Availability(10)

Vendor / EcosystemFix (by version range) / PatchReleasedSource
ubuntupython3-cryptography (46.0.5-1ubuntu2.2) @ resolute2026-10-24ubuntu
ubuntupython3-cryptography (3.4.8-1ubuntu2.1) @ jammy2026-10-24ubuntu
redhatpython39-devel:3.9-8100020240214182535.7044f6c12024-05-22redhat
redhatquay/quay-rhel8:v3.10.0-1502023-11-30redhat
redhatpython-cryptography-0:3.2.1-6.el82023-11-14redhat
redhatrh-python38-python-cryptography-0:2.8-6.el72023-11-08redhat
redhatpython-cryptography-0:36.0.1-4.el92023-11-07redhat
redhatautomation-controller-0:4.4.3-1.el9ap2023-09-05redhat
redhatpython-cryptography-0:38.0.4-2.el9ap2023-08-21redhat
pipcryptography @ 39.0.1 (fixes >= 1.8, < 39.0.1)—ghsa

These rows come from Ubuntu, Red Hat and GitHub (GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(14 across 14 ecosystems)
Alpine:v3.17(1)
PackageVulnerable rangeFix by version rangeDependents
py3-cryptography—
  • 1.8 up to 38.0.3-r1: fixed in 38.0.3-r1
—
Alpine:v3.18(1)
PackageVulnerable rangeFix by version rangeDependents
py3-cryptography—
  • 1.8 up to 39.0.1-r0: fixed in 39.0.1-r0
—
Alpine:v3.19(1)
PackageVulnerable rangeFix by version rangeDependents
py3-cryptography—
  • 1.8 up to 39.0.1-r0: fixed in 39.0.1-r0
—
Alpine:v3.20(1)
PackageVulnerable rangeFix by version rangeDependents
py3-cryptography—
  • 1.8 up to 39.0.1-r0: fixed in 39.0.1-r0
—
Alpine:v3.21(1)
PackageVulnerable rangeFix by version rangeDependents
py3-cryptography—
  • 1.8 up to 39.0.1-r0: fixed in 39.0.1-r0
—
Alpine:v3.22(1)
PackageVulnerable rangeFix by version rangeDependents
py3-cryptography—
  • 1.8 up to 39.0.1-r0: fixed in 39.0.1-r0
—
Alpine:v3.23(1)
PackageVulnerable rangeFix by version rangeDependents
py3-cryptography—
  • 1.8 up to 39.0.1-r0: fixed in 39.0.1-r0
—
Alpine:v3.24(1)
PackageVulnerable rangeFix by version rangeDependents
py3-cryptography—
  • 1.8 up to 39.0.1-r0: fixed in 39.0.1-r0
—
Debian:10(1)
PackageVulnerable rangeFix by version rangeDependents
python-cryptography2.6.1-3, 2.6.1-3+deb10u1, 2.6.1-3+deb10u2, 2.6.1-3+deb10u3
  • every version up to 2.6.1-3+deb10u3: fixed in 2.6.1-3+deb10u3
  • every version up to 2.6.1-3+deb10u4: fixed in 2.6.1-3+deb10u4
—
Debian:11(1)
PackageVulnerable rangeFix by version rangeDependents
python-cryptography3.3.2-1
  • every version up to 3.3.2-1+deb11u1: fixed in 3.3.2-1+deb11u1
—
Debian:12(1)
PackageVulnerable rangeFix by version rangeDependents
python-cryptography—
  • every version up to 38.0.4-3: fixed in 38.0.4-3
—
Debian:13(1)
PackageVulnerable rangeFix by version rangeDependents
python-cryptography—
  • every version up to 38.0.4-3: fixed in 38.0.4-3
—
Debian:14(1)
PackageVulnerable rangeFix by version rangeDependents
python-cryptography—
  • every version up to 38.0.4-3: fixed in 38.0.4-3
—
PyPI(1)
PackageVulnerable rangeFix by version rangeDependents
cryptography1.8 ... 39.0.0 (61 versions)
  • 1.8 up to 39.0.1: fixed in 39.0.1
—

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Additional Vendor Advisories

(2)

Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.

Data Freshness Timeline

(refreshed 8× in last 7d / 32× in last 30d)

Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed its CVE.org record (CNA or CISA ADP). An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). "EchelonGraph re-scored" is our own recompute of this CVE's score, not an update from a source, and is not counted in the refreshes above. Most recent first.

Showing the most recent 100 of 242 rows on record for this CVE, as 99 entries (1 repeat merged).

A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. 1 repeat row among the latest 100 is merged into the row it repeats. The 142 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

  1. 2026-11-23 16:38 UTCEPSS rescoreEPSS 1.3% · 71st percentile
  2. 2026-11-21 16:34 UTCEPSS rescoreEPSS 1.3% · 71st percentile
  3. 2026-11-21 00:26 UTCEchelonGraph re-scored
  4. 2026-11-21 00:26 UTCVendor advisory
  5. 2026-11-21 00:26 UTCGHSA enrichmentGHSA-w7pp-m8wf-vj6r · GitHub severity MODERATE · GitHub CVSS 6.5
  6. 2026-11-20 16:33 UTCEPSS rescoreEPSS 1.3% · 71st percentile
  7. 2026-11-19 16:29 UTCEPSS rescoreEPSS 1.3% · 71st percentile
  8. 2026-11-18 16:30 UTCEPSS rescoreEPSS 1.3% · 71st percentile
  9. 2026-11-17 16:31 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  10. 2026-11-16 16:42 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  11. 2026-11-15 16:44 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  12. 2026-11-14 16:35 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  13. 2026-11-13 16:43 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  14. 2026-11-12 16:30 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  15. 2026-11-11 16:33 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  16. 2026-11-10 16:36 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  17. 2026-11-09 16:30 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  18. 2026-11-08 16:34 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  19. 2026-11-07 16:34 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  20. 2026-11-06 16:31 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  21. 2026-11-05 16:32 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  22. 2026-11-04 16:31 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  23. 2026-11-03 16:40 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  24. 2026-11-02 16:39 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  25. 2026-11-01 16:30 UTCEPSS rescoreEPSS 1.3% · 70th percentile
Show 74 more
  1. 2026-11-01 08:22 UTCGHSA enrichmentGHSA-w7pp-m8wf-vj6r · GitHub severity MODERATE · GitHub CVSS 6.5
  2. 2026-11-01 08:22 UTCEchelonGraph re-scored▲ 1.70
  3. 2026-10-31 16:29 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  4. 2026-10-30 16:31 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  5. 2026-10-29 16:30 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  6. 2026-10-28 16:29 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  7. 2026-10-27 16:29 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  8. 2026-10-26 16:28 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  9. 2026-10-25 17:48 UTCEchelonGraph re-scored
  10. 2026-10-25 16:29 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  11. 2026-10-24 16:29 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  12. 2026-10-24 15:36 UTCEchelonGraph re-scored
  13. 2026-10-24 15:36 UTCVendor advisory
  14. 2026-10-23 16:29 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  15. 2026-10-22 16:30 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  16. 2026-10-21 16:29 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  17. 2026-10-20 16:29 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  18. 2026-10-19 16:29 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  19. 2026-10-18 16:29 UTCEPSS rescoreEPSS 1.3% · 70th percentile
  20. 2026-10-18 08:11 UTCEchelonGraph re-scored
  21. 2026-10-17 16:29 UTCEPSS rescoreEPSS 1.3% · 69th percentile
  22. 2026-10-16 16:35 UTCEPSS rescoreEPSS 1.3% · 69th percentile
  23. 2026-10-15 16:29 UTCEPSS rescoreEPSS 1.3% · 69th percentile
  24. 2026-10-14 22:54 UTCOSV refresh
  25. 2026-10-14 16:29 UTCEPSS rescoreEPSS 1.3% · 69th percentile
  26. 2026-10-13 16:29 UTCEPSS rescoreEPSS 1.3% · 69th percentile
  27. 2026-10-12 18:35 UTCEchelonGraph re-scored
  28. 2026-10-12 16:30 UTCEPSS rescoreEPSS 1.3% · 69th percentile
  29. 2026-10-11 21:58 UTCEchelonGraph re-scored
  30. 2026-10-11 13:45 UTCEPSS rescoreEPSS 1.3% · 69th percentile
  31. 2026-10-10 19:57 UTCEPSS rescoreEPSS 1.3% · 69th percentile
  32. 2026-10-09 20:05 UTCEPSS rescoreEPSS 1.3% · 69th percentile
  33. 2026-10-08 17:05 UTCEPSS rescoreEPSS 1.3% · 69th percentile
  34. 2026-10-07 23:45 UTCEPSS rescoreEPSS 1.3% · 69th percentile
  35. 2026-10-06 15:14 UTCEPSS rescoreEPSS 1.3% · 69th percentile
  36. 2026-10-05 17:40 UTCEPSS rescoreEPSS 1.3% · 69th percentile
  37. 2026-10-03 14:23 UTCEPSS rescoreEPSS 1.3% · 69th percentile
  38. 2026-10-02 16:23 UTCEPSS rescoreEPSS 1.3% · 69th percentile
  39. 2026-10-01 19:47 UTCEPSS rescoreEPSS 1.3% · 69th percentile
  40. 2026-09-30 16:18 UTCEchelonGraph re-scored
  41. 2026-09-30 15:01 UTCEPSS rescoreEPSS 1.3% · 69th percentile
  42. 2026-09-29 15:16 UTCEPSS rescoreEPSS 1.3% · 69th percentile
  43. 2026-09-26 15:55 UTCEPSS rescoreEPSS 1.3% · 69th percentile
  44. 2026-09-26 00:22 UTCEPSS rescoreEPSS 1.3% · 69th percentile
  45. 2026-09-24 14:01 UTCEPSS rescoreEPSS 1.3% · 69th percentile
  46. 2026-09-23 21:11 UTCOSV refresh
  47. 2026-09-23 13:45 UTCEPSS rescoreEPSS 1.3% · 69th percentile
  48. 2026-09-22 14:45 UTCEPSS rescoreEPSS 1.3% · 69th percentile
  49. 2026-09-19 15:38 UTCEPSS rescoreEPSS 1.3% · 69th percentile
  50. 2026-09-18 19:25 UTCEPSS rescoreEPSS 1.3% · 69th percentile
  51. 2026-09-17 19:24 UTCEPSS rescoreEPSS 1.3% · 69th percentile
  52. 2026-09-16 14:05 UTCEPSS rescoreEPSS 1.3% · 69th percentile
  53. 2026-09-16 05:11 UTCEPSS rescoreEPSS 1.3% · 68th percentile
  54. 2026-09-15 03:07 UTCEPSS rescoreEPSS 1.3% · 68th percentile
  55. 2026-09-13 16:44 UTCEPSS rescoreEPSS 1.3% · 68th percentile
  56. 2026-09-12 14:58 UTCEPSS rescoreEPSS 1.3% · 68th percentile
  57. 2026-09-11 09:34 UTCEPSS rescoreEPSS 1.3% · 68th percentile
  58. 2026-09-08 21:57 UTCEPSS rescoreEPSS 1.3% · 68th percentile
  59. 2026-09-07 15:59 UTCEPSS rescoreEPSS 1.3% · 68th percentile
  60. 2026-09-06 13:45 UTCEPSS rescoreEPSS 1.3% · 68th percentile
  61. 2026-09-05 15:25 UTCEPSS rescoreEPSS 1.3% · 68th percentile
  62. 2026-09-04 15:59 UTCOSV refresh
  63. 2026-09-04 13:57 UTCEPSS rescoreEPSS 1.3% · 68th percentile
  64. 2026-09-04 05:04 UTCEPSS rescoreEPSS 1.3% · 68th percentile
  65. 2026-09-02 14:09 UTCEPSS rescoreEPSS 1.3% · 68th percentile
  66. 2026-09-01 13:51 UTCEPSS rescoreEPSS 1.3% · 68th percentile
  67. 2026-08-30 19:15 UTCEPSS rescoreEPSS 1.3% · 68th percentile
  68. 2026-08-30 01:19 UTCEPSS rescoreEPSS 1.3% · 67th percentile
  69. 2026-08-28 21:38 UTCEPSS rescoreEPSS 1.3% · 67th percentile
  70. 2026-08-27 14:22 UTCEPSS rescoreEPSS 1.3% · 68th percentile
  71. 2026-08-26 14:43 UTCEPSS rescoreEPSS 1.3% · 68th percentile
  72. 2026-08-25 13:46 UTCEPSS rescoreEPSS 1.3% · 68th percentile
  73. 2026-08-24 14:14 UTCEPSS rescoreEPSS 1.3% · 68th percentile
  74. 2026-08-23 00:17 UTCEPSS rescoreEPSS 1.3% · 68th percentile

Frequently asked(5)

What is CVE-2023-23931?
CVE-2023-23931 is a medium-severity vulnerability; its CVE record was published on February 7, 2023. cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. In affected versions Cipher.update_into would accept Python objects which implement the buffer protocol, but provide only immutable buffers. This would allow immutable objects (such as bytes) to…
When was the CVE record for CVE-2023-23931 published?
The CVE record for CVE-2023-23931 was published on February 7, 2023. That is the record's publication date; the vulnerability itself may have been made public earlier. CVE.org's record carries a last-updated date of November 3, 2025; it may have been updated since EchelonGraph last read it.
Is CVE-2023-23931 actively exploited?
CVE-2023-23931 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 1.3% probability of exploitation in the next 30 days (71st percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2023-23931?
CVE-2023-23931 has a CVSS v3 base score of 4.8 (NVD). EchelonGraph synthesises NVD + FIRST EPSS + GHSA into a combined EG score of 6.5 (MEDIUM).
How do I remediate CVE-2023-23931?
A fix for CVE-2023-23931 is available: update to the fixed version the vendor names in its advisory. The vendor advisories EchelonGraph has for CVE-2023-23931 are linked in the Vendor Advisories panel on this page.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2023-23931

Explore →

Is Your Infrastructure Affected by CVE-2023-23931?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.