Skip to content

Prevent regex denial of service in email validation - #63

Open
tobymoreno wants to merge 1 commit into
OWASP-CTF:dc34-ctffrom
tobymoreno:fix/vampi-regex-dos
Open

tobymoreno wants to merge 1 commit into
OWASP-CTF:dc34-ctffrom
tobymoreno:fix/vampi-regex-dos

Conversation

@tobymoreno

Copy link
Copy Markdown

Replaces the vulnerable backtracking email regex in update_email with bounded parseaddr validation and a 254-character length cap. Adds a regression test verifying the vulnerable regex path is absent.

Signed-off-by: Toby Moreno <chris.moreno.ctr@km.spaceforce.mil>
@github-actions

github-actions Bot commented Aug 9, 2026 •

Copy link
Copy Markdown

🏆 VAmPI — CTF Patch Score

████░░░░░░░░░░░░░░░░  3 / 16 pts  (19%)

1 / 9 challenges patched

Per-challenge detail is withheld — it would reveal the rubric.

Commit: ce9d497 · scoring run

🎉 Your result is on the leaderboard — see where you rank! 🏆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant