Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #392790

Bug#1107195: python-signxml: CVE-2025-48994 CVE-2025-48995

From Salvatore Bonaccorso <carnil@debian.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#1107195: python-signxml: CVE-2025-48994 CVE-2025-48995
Date 2025-06-02 23:00 +0200
Message-ID <KTkqd-7yp2-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Source: python-signxml
Version: 4.0.3+dfsg-1
Severity: grave
Tags: security upstream
X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>

Hi,

The following vulnerabilities were published for python-signxml.

CVE-2025-48994[0]:
| SignXML is an implementation of the W3C XML Signature standard in
| Python. When verifying signatures with X509 certificate validation
| turned off and HMAC shared secret set
| (`signxml.XMLVerifier.verify(require_x509=False, hmac_key=...`),
| versions of SignXML prior to 4.0.4 are vulnerable to a potential
| algorithm confusion attack. Unless the user explicitly limits the
| expected signature algorithms using the
| `signxml.XMLVerifier.verify(expect_config=...)` setting, an attacker
| may supply a signature unexpectedly signed with a key other than the
| provided HMAC key, using a different (asymmetric key) signature
| algorithm. Starting with SignXML 4.0.4, specifying `hmac_key` causes
| the set of accepted signature algorithms to be restricted to HMAC
| only, if not already restricted by the user.


CVE-2025-48995[1]:
| SignXML is an implementation of the W3C XML Signature standard in
| Python. When verifying signatures with X509 certificate validation
| turned off and HMAC shared secret set
| (`signxml.XMLVerifier.verify(require_x509=False, hmac_key=...`),
| versions of SignXML prior to 4.0.4 are vulnerable to a potential
| timing attack. The verifier may leak information about the correct
| HMAC when comparing it with the user supplied hash, allowing users
| to reconstruct the correct HMAC for any data.


If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2025-48994
    https://www.cve.org/CVERecord?id=CVE-2025-48994
    https://github.com/XML-Security/signxml/security/advisories/GHSA-6vx8-pcwv-xhf4
    https://github.com/XML-Security/signxml/commit/e3c0c2b82a3329a65d917830657649c98b8c7600
[1] https://security-tracker.debian.org/tracker/CVE-2025-48995
    https://www.cve.org/CVERecord?id=CVE-2025-48995
    https://github.com/XML-Security/signxml/security/advisories/GHSA-gmhf-gg8w-jw42
    https://github.com/XML-Security/signxml/commit/1b501faaacf34cf978a52dbc6915ec11e27611cd

Regards,
Salvatore

Back to linux.debian.bugs.rc | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1107195: python-signxml: CVE-2025-48994 CVE-2025-48995 Salvatore Bonaccorso <carnil@debian.org> - 2025-06-02 23:00 +0200
  Bug#1107195: marked as done (python-signxml: CVE-2025-48994  CVE-2025-48995) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-06-12 00:40 +0200

csiph-web