Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935384 - <app-crypt/sequoia-chameleon-gnupg-0.10.1: Denial of service
Summary: <app-crypt/sequoia-chameleon-gnupg-0.10.1: Denial of service
Status: IN_PROGRESS
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal trivial
Assignee: Gentoo Security
URL: https://rustsec.org/advisories/RUSTSE...
Whiteboard: ~3 [cleanup noglsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-03 04:30 UTC by Sam James
Modified: 2024-09-22 02:35 UTC (History)
3 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 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-03 04:30:30 UTC
See https://rustsec.org/advisories/RUSTSEC-2024-0345.html.

"""
Description

There is a denial-of-service vulnerability in sequoia-openpgp, our crate providing a low-level interface to our OpenPGP implementation. When triggered, the process will enter an infinite loop.

Many thanks to Andrew Gallagher for disclosing the issue to us.
Impact

Any software directly or indirectly using the interface sequoia_openpgp::cert::raw::RawCertParser. Notably, this includes all software using the sequoia_cert_store crate.
Details

The RawCertParser does not advance the input stream when encountering unsupported cert (primary key) versions, resulting in an infinite loop.

The fix introduces a new raw-cert-specific cert::raw::Error::UnuspportedCert.
"""

They only seem to have issued a new release for this package so I guess the other sq suite pkgs are fine.
Comment 1 Larry the Git Cow gentoo-dev 2024-07-03 04:41:34 UTC
The bug has been referenced in the following commit(s):

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

commit ea095ceae6c4019401707f2255f33b1b0493ebb1
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-07-03 04:30:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-07-03 04:30:40 +0000

    app-crypt/sequoia-chameleon-gnupg: add 0.10.1
    
    Bug: https://bugs.gentoo.org/935384
    Signed-off-by: Sam James <sam@gentoo.org>

 app-crypt/sequoia-chameleon-gnupg/Manifest         |  26 ++
 .../sequoia-chameleon-gnupg-0.10.1.ebuild          | 445 +++++++++++++++++++++
 2 files changed, 471 insertions(+)
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2024-09-22 02:35:36 UTC
Can we cleanup?