Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

vert-x3/vertx-web
master @ ad31d7a
4
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
vertx-web: most-fixed (2 issues). Treat as high-risk during review.
2 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Path Traversal: URL-encoded dot-segments bypass route normalization in the static file handler, enabling attackers to read arbitrary files from the filesystem. Developers should ensure path offset calculations and prefix checks are strictly enforced during resource resolution.
Auth Bypass: The use of AES/CBC for cookie session storage lacked authenticity guarantees, permitting session tampering and potential privilege escalation. Replacing CBC with AES/GCM provides authenticated encryption to prevent session hijacking.
Auth Bypass: Logical flaws in empty authentication handler chains allowed requests to bypass routing security entirely when a fallback was missing. Security-critical routing handlers must be carefully verified against empty or misconfigured setups.