summaryrefslogtreecommitdiff
path: root/src/lib/libssl
diff options
context:
space:
mode:
authorjsing <>2026-07-14 15:52:52 +0000
committerjsing <>2026-07-14 15:52:52 +0000
commitd9a371b178de7043470c89bef81aa96da20dc855 (patch)
tree0c1869d6a4831f89be1d5d75189412787ded0f50 /src/lib/libssl
parent830c372f670c7dc9435cd7c2dd13364913f22b52 (diff)
downloadopenbsd-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