diff options
| author | jsing <> | 2026-07-14 15:52:52 +0000 |
|---|---|---|
| committer | jsing <> | 2026-07-14 15:52:52 +0000 |
| commit | d9a371b178de7043470c89bef81aa96da20dc855 (patch) | |
| tree | 0c1869d6a4831f89be1d5d75189412787ded0f50 /src/lib/libssl | |
| parent | 830c372f670c7dc9435cd7c2dd13364913f22b52 (diff) | |
| download | openbsd-d9a371b178de7043470c89bef81aa96da20dc855.tar.gz openbsd-d9a371b178de7043470c89bef81aa96da20dc855.tar.bz2 openbsd-d9a371b178de7043470c89bef81aa96da20dc855.zip | |
Fix X.509 constraints URI host parsing.
An authority in a URI is only terminated by a slash, question mark or hash,
however the current code also included colons. This allows a specically
crafted userinfo to bypass name constraints host checks. Additionally, IPv6
literals may only be specified when enclosed with square brackets, which is
not enforced.
Rewrite parts of the host and IP parsing code to be more strict, fixing
both of these issues in the process.
Thanks to Jack Lloyd for reporting the userinfo bypass.
ok tb@
Diffstat (limited to 'src/lib/libssl')
0 files changed, 0 insertions, 0 deletions
