Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888109 (CVE-2022-40899) - <dev-python/future-0.18.2-r3: ReDoS
Summary: <dev-python/future-0.18.2-r3: ReDoS
Status: IN_PROGRESS
Alias: CVE-2022-40899
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://pyup.io/posts/pyup-discovers-...
Whiteboard: B3 [glsa?]
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-23 22:04 UTC by John Helmert III
Modified: 2022-12-24 06:44 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-12-23 22:04:24 UTC
CVE-2022-40898:

An issue discovered in Python Packaging Authority (PyPA) Wheel 0.37.1 and earlier allows remote attackers to cause a denial of service via attacker controlled input to wheel cli.

Of course seems a little strange to say that remote attackers can DoS
via the CLI, but these people seem to be doing their best to inflate
impact anyway.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-12-24 06:27:09 UTC
FWICS -40899 is future, whereas -40898 is wheel.  Which one should the bug be about?  xP
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-12-24 06:29:16 UTC
Hmm, our wheel (and all other packages from that list) is fixed, so I guess future.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-12-24 06:31:08 UTC
Description
An issue discovered in Python Charmers Future 0.18.2 and earlier allows remote attackers to cause a denial of service via crafted Set-Cookie header from malicious web server.
Comment 4 Larry the Git Cow gentoo-dev 2022-12-24 06:40:11 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34253f1de1ae27affcf1f7fc05440506638b9650

commit 34253f1de1ae27affcf1f7fc05440506638b9650
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-12-24 06:33:55 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-12-24 06:40:08 +0000

    dev-python/future: Patch ReDoS copied from stdlib
    
    Bug: https://bugs.gentoo.org/888109
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../files/future-0.18.2-cve-2022-40899.patch       | 52 ++++++++++++++++++++++
 ...re-0.18.2-r2.ebuild => future-0.18.2-r3.ebuild} | 11 ++++-
 2 files changed, 61 insertions(+), 2 deletions(-)