From: Leo Famulari <leo@famulari.name>
To: 46631@debbugs.gnu.org
Subject: bug#46631: Python CVE-2021-3177
Date: Thu, 18 Feb 2021 22:21:34 -0500 [thread overview]
Message-ID: <YC8uvtnvGyXcCno1@jasmine.lan> (raw)
Quoting from MITRE:
------
Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr 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 c_double.from_param. This
occurs because sprintf is used unsafely.
------
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3177
There is not yet an upstream release to fix the issue in the 3.8 series
that we distribute. I believe there are patches we can cherry-pick. Can
somebody find them?
I assume that Python is considered to be "graft-able". Can anyone
confirm?
The upstream bug report:
https://bugs.python.org/issue42938
next reply other threads:[~2021-02-19 3:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-19 3:21 Leo Famulari [this message]
2021-02-19 15:35 ` bug#46631: Python CVE-2021-3177 Ludovic Courtès
2021-02-19 23:12 ` Leo Famulari
2021-02-19 23:23 ` Leo Famulari
2021-02-19 23:41 ` Leo Famulari
2021-02-22 8:08 ` Ludovic Courtès
2021-02-23 19:16 ` Leo Famulari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YC8uvtnvGyXcCno1@jasmine.lan \
--to=leo@famulari.name \
--cc=46631@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.