Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ RUSTSEC-2023-0076 — cpython

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

cpython is unmaintained

The cpython crate and the underlying python3-sys and python27-sys crates have been marked as [no longer actively maintained] by the developer.

There are also open issues for unsound code that is currently in these crates:

  • [cpython#265]: Using some string functions causes segmentation faults on big-endian architectures. Due to incorrect bitfield manipulations, it is possible to create invalid Python objects that crash the Python interpreter.
  • [cpython#294]: Python 3.12 is not supported. Due to ABI changes in Python 3.12, calling some string functions will result in invalid Python objects and / or cause out-of-bounds memory accesses.

Recommended alternatives

  • [pyo3] (version 0.19.2 and newer)

The pyo3 crate is actively maintained. Preliminary support for Python 3.12 was added in version 0.19.2, and version 0.20.0 was released with full support for Python 3.12.

Both versions implement string functions correctly on big-endian architectures. The endianness issue affecting the cpython crate was fixed in recent versions of pyo3.

[no longer actively maintained]: https://github.com/dgrunwald/rust-cpython/commit/e815555

[cpython#265]: https://github.com/dgrunwald/rust-cpython/issues/265

[cpython#294]: https://github.com/dgrunwald/rust-cpython/issues/294

[pyo3]: https://crates.io/crates/pyo3

Affected software

RUSTSEC-2023-0076 is recorded against 1 package.

  • cpython

Timeline and source

Published on 14 November 2023 and last revised on 20 December 2023. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

crates.io (Package)
rustsec.org (Advisory)
github.com (Web)
github.com (Report)
github.com (Report)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2023-11-14
Updated 2026-08-20
Modified 2023-12-20
Fix URL N/A

Affected Packages

Software From version Fixed in
cpython — —

Similar Threats

Free Vulnerability Check

Is your site affected by RUSTSEC-2023-0076?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against RUSTSEC-2023-0076 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesRustsecRustsec 2023
✓