PyJWT: ReDoS vulnerability when calling the `is_pem_format` function. — GHSA-JWRC-G2Q2-PQ5P
GitHub · GitHub · GHSA-JWRC-G2Q2-PQ5P
ID
GHSA-JWRC-G2Q2-PQ5P
GHSA-JWRC-G2Q2-PQ5P
Datum
Quelle
GitHub
GitHub
Vendor
GitHub
GitHub
Risiko
mittel
mittel
CVSS
4.4
4.4
EPSS
0.00192
0.00192
Zusammenfassung
### Summary There is a Re-DoS vulnerability in the `is_pem_format` function which results in a intesive CPU usage if an attacker is been able to provide a custom certificate. ### Details The problem is that the lazy quantifier `.+?` will always first try to match as little as possible until it finds a `---- END`. Normally this means the complexity of this should be O(N). However, by providing an input which…
Zeitlicher Verlauf
- Von der Quelle veröffentlicht
- 2026-09-30
Risikokontext
- Gemeldeter Schweregrad oder Risikowert: mittel.
- Gemeldeter CVSS-Wert: 4.4 von 10.
- Gemeldeter EPSS-Wert: 0.00192.
- Prüfe die Exponierung für das betroffene Produkt oder die Produktfamilie: pip: pyjwt.
Produkt
pip: pyjwt
Was tun?
Allgemeine, vorsichtige Schritte (bitte prüfe die offizielle Quelle für Details):
- Prüfe Exponierung und plane Maßnahmen nach Risiko und Umfeld.
- Identifiziere betroffene Produktversionen und prüfe, ob du betroffen bist.
- Spiele Hersteller-Updates/Patches ein oder setze empfohlene Mitigations um.
- Lies das offizielle Advisory für betroffene Versionen und konkrete Schritte.
Offizielles Advisory
Nachweise und Herkunft
- Kanonische Advisory-ID
- GHSA-JWRC-G2Q2-PQ5P
- Quelle
- GitHub
- Vendor
- GitHub
- Von der Quelle veröffentlicht
- 2026-09-30
- Letzte Quellenaktivität
- 2026-09-30
- Weitere Kennungen
- CVE-2026-102270
- Kuratiert von
- hlukh.ch
Verwandte Hinweise und Zusammenhänge
Diese Hinweise sind anhand gemeinsamer CVE-, Produkt-, Hersteller-, Quellen- oder Zeitsignale verknüpft.