Bug 2522038

Summary: CVE-2026-67213 python-jupytext: nanoid: Denial of Service via infinite loop in random ID generation [fedora-all]
Product: [Fedora] Fedora Reporter: Joel Chamberlain <jochambe>
Component: python-jupytextAssignee: Jerry James <loganjerry>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: loganjerry
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["94d50fa1-8b52-494e-b604-57fac9394413"]}
Fixed In Version: python-jupytext-1.19.6-1.fc44 python-jupytext-1.19.6-1.fc43 python-jupytext-1.19.6-1.fc45 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-10-14 01:23:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2508406    

Description Joel Chamberlain 2026-08-24 15:34:01 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

nanoid (Nano ID) before 5.1.6 contains an infinite loop in the customAlphabet and customRandom functions. When these functions are configured with a size of 0, the internal generation loop never satisfies its exit condition and spins indefinitely, hanging the calling thread. An application that passes an unvalidated, attacker-controlled size of 0 to these functions is exposed to a denial-of-service condition.

Comment 1 Fedora Update System 2026-10-05 19:44:50 UTC
FEDORA-2026-3942ab86fd (python-jupytext-1.19.6-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-3942ab86fd

Comment 2 Fedora Update System 2026-10-06 01:23:56 UTC
FEDORA-2026-8b0bf60fcb has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-8b0bf60fcb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-8b0bf60fcb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2026-10-06 01:56:56 UTC
FEDORA-2026-620e232420 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-620e232420`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-620e232420

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2026-10-06 02:26:35 UTC
FEDORA-2026-3942ab86fd has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-3942ab86fd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-3942ab86fd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-10-14 01:23:00 UTC
FEDORA-2026-620e232420 (python-jupytext-1.19.6-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2026-10-14 01:30:45 UTC
FEDORA-2026-3942ab86fd (python-jupytext-1.19.6-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2026-10-31 18:30:24 UTC
FEDORA-2026-8b0bf60fcb (python-jupytext-1.19.6-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.