OESA-2021-1066

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2021-1066
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2021-1066.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2021-1066
Upstream
Published
2021-03-05T11:02:40Z
Modified
2025-08-12T05:08:11.016777Z
Summary
python3 security update
Details

Python combines remarkable power with very clear syntax. It has modules, classes, exceptions, very high level dynamic data types, and dynamic typing. There are interfaces to many system calls and libraries, as well as to various windowing systems. New built-in modules are easily written in C or C++ (or other languages, depending on the chosen implementation). Python is also usable as an extension language for applications written in other languages that need easy-to-use scripting or automation interfaces.

Security Fix(es):

Python 3.x through 3.9.1 has a buffer overflow in PyCArgrepr in _ctypes/callproc.c, which may lead to remote code execution in certain Python applications that accept floating-point numbers as untrusted input, as demonstrated by a 1e300 argument to cdouble.from_param. This occurs because sprintf is used unsafely.(CVE-2021-3177)

Database specific
{
    "severity": "Critical"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / python3

Package

Name
python3
Purl
pkg:rpm/openEuler/python3&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.9-8.oe1

Ecosystem specific

{
    "src": [
        "python3-3.7.9-8.oe1.src.rpm"
    ],
    "noarch": [
        "python3-help-3.7.9-8.oe1.noarch.rpm"
    ],
    "aarch64": [
        "python3-debug-3.7.9-8.oe1.aarch64.rpm",
        "python3-devel-3.7.9-8.oe1.aarch64.rpm",
        "python3-debuginfo-3.7.9-8.oe1.aarch64.rpm",
        "python3-debugsource-3.7.9-8.oe1.aarch64.rpm",
        "python3-3.7.9-8.oe1.aarch64.rpm"
    ],
    "x86_64": [
        "python3-debug-3.7.9-8.oe1.x86_64.rpm",
        "python3-devel-3.7.9-8.oe1.x86_64.rpm",
        "python3-debugsource-3.7.9-8.oe1.x86_64.rpm",
        "python3-3.7.9-8.oe1.x86_64.rpm",
        "python3-debuginfo-3.7.9-8.oe1.x86_64.rpm"
    ]
}