Commit Graph

8 Commits

Author SHA1 Message Date
Masahiro Matsuya
d4c2f2d440 Fix missing 'from pyasn1.type import univ' in test patches
Add the missing import to the cer and der test_decoder.py sections
of python-pyasn1-0.3.7-CVE-2026-59886.patch. The new tests use
univ.Real() but the import line was not added along with the
encoder import, causing NameError at test time.

Signed-off-by: Masahiro Matsuya <mmatsuya@redhat.com>
2026-08-03 15:05:24 +09:00
RHEL Packaging Agent
b8c0657d9b Fix CVE-2026-59886: denial of service in Real type __float__()
Backport upstream commit 90d5e17 to fix CVE-2026-59886, a denial
of service vulnerability in the Real type's __float__() method.
The flaw allowed astronomically large integer materialization
via pow(). The patch rewrites __float__() to use math.ldexp()
for base-2 values, adds overflow protection for base-10 values,
fixes integer division in __normalizeBase10(), and handles zero
mantissa early. Comprehensive tests are added for BER, CER, DER
decoders and the Real type unit tests.

CVE: CVE-2026-59886
Upstream patches:
 - 90d5e17239.patch
Resolves: RHEL-217908

This commit was backported by Ymir, a Red Hat Enterprise Linux software maintenance AI agent.

Assisted-by: Ymir
2026-07-29 14:19:14 +00:00
Masahiro Matsuya
5a10953bf5
python-pyasn1-0.3.7-6.el8_10.1
- Resolves: RHEL-148145

Signed-off-by: Masahiro Matsuya <mmatsuya@redhat.com>
2026-02-18 15:05:34 +09:00
Adam Samalik
3db6a577a7 re-import sources as agreed with the maintainer 2023-07-10 13:42:46 +02:00
Troy Dawson
c9ae7cc96e Bring gating.yaml over from Brew dist-git
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-03-10 11:20:00 -08:00
James Antill
695e80076e Import rpm: c8s 2023-02-27 15:09:43 -05:00
James Antill
284f064af7 Auto sync2gitlab import of python-pyasn1-0.3.7-6.el8.src.rpm 2022-05-26 13:42:29 -04:00
James Antill
0bf3d30cd8 Initial c8s branch. 2022-05-26 13:42:25 -04:00