Repository navigation
[Aikido] Fix 2 security issues in regex, wrapt - #715
Open
aikido-autofix[bot] wants to merge 1 commit into
Open
aikido-autofix[bot] wants to merge 1 commit into
aikido-autofix[bot] wants to merge 1 commit into
Conversation
aikido-autofix
Bot
force-pushed
the
fix/AIK-19648-update-packages-109364923-a9uz
branch
from
November 5, 2026 01:35
1d8a794 to
395922f
Compare
aikido-autofix
Bot
force-pushed
the
fix/AIK-19648-update-packages-109364923-a9uz
branch
from
November 7, 2026 01:40
395922f to
abce7c4
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrade regex and wrapt to fix memory-safety vulnerabilities including heap out-of-bounds access, use-after-free, and double-free issues that can cause DoS or process crashes.
✅ No breaking changes for: wrapt
✅ 2 CVEs resolved by this upgrade
This PR will resolve the following CVEs:
🔗 Related Tasks
🤖 Remediation details
Fix security vulnerabilities in
regexandwraptby narrowingrequires-pythonShort summary
This PR remediates vulnerabilities in two direct dependencies —
regexandwrapt— declared in the rootpyproject.toml. Both packages had Python-version-conditional specs that kept vulnerable older versions inpoetry.lockfor Python 3.8 and 3.9. The fix narrowsrequires-pythonfrom>=3.8,<3.16to>=3.10,<3.16, eliminating the only reason those vulnerable forks existed, and collapses both dependencies to single unconditional patched-floor specs. The lockfile was refreshed viapoetry update.regex
regexwas declared as a conditional array with^2024.5.15for Python<3.10and^2026.8.31for Python>=3.10. The^2024.5.15fork resolved to versions within the vulnerable range (<=2026.7.19). Because the patched release2026.8.31itself requires Python>=3.10, the only correct fix was to narrowrequires-pythonto>=3.10, making the vulnerable fork unreachable. The spec was then collapsed to a single flat"^2026.8.31", resolving to2026.9.29on Python 3.10 and2026.11.7on Python ≥3.11 — both above the patched floor.wrapt
wraptwas declared as a conditional array with^1.17.2for Python<3.9and^2.4.0for Python>=3.9. The^1.17.2fork resolved to1.17.2, which falls within the vulnerable range (>=1.17.0,<=2.3.0). The patched release2.4.0requires Python>=3.9, so the Python 3.8 fork had no available fix without dropping Python 3.8 support. Narrowingrequires-pythonto>=3.10(already required by theregexfix) eliminated the vulnerable fork entirely, and the spec was collapsed to a single flat"^2.4.0", resolving to2.5.2.Version changes
regex^2024.5.15(py<3.10) /^2026.8.31(py≥3.10) — resolved2024.9.11^2026.8.31(unconditional) — resolved2026.9.29/2026.11.7requires-pythonwrapt^1.17.2(py<3.9) /^2.4.0(py≥3.9) — resolved1.17.2^2.4.0(unconditional) — resolved2.5.2requires-pythonasyncpg^0.30.0(py<3.9) /^0.31.0(py≥3.9)^0.31.0(unconditional)py<3.9fork became unreachable afterrequires-pythonraised to>=3.10; collapsed to avoid resolver error