summaryrefslogtreecommitdiff
path: root/src/usr.bin
diff options
context:
space:
mode:
authorbluhm <>2023-02-07 15:59:13 +0000
committerbluhm <>2023-02-07 15:59:13 +0000
commit954ab2058388f0a2380e596edf3798c691c9e6fe (patch)
tree3754e7fb836af9a834326e91dc12635e2efdbeb0 /src/usr.bin
parentbe7071a39d853595f00196e2efdfab18244b5dc1 (diff)
downloadopenbsd-954ab2058388f0a2380e596edf3798c691c9e6fe.tar.gz
openbsd-954ab2058388f0a2380e596edf3798c691c9e6fe.tar.bz2
openbsd-954ab2058388f0a2380e596edf3798c691c9e6fe.zip
Fix arbitrary memory read in GENERAL_NAME_cmp()
The ASN.1 template for GENERAL_NAME and its corresponding C structure disagree on the type of the x400Address member. This results in an ASN.1 string to be considered as an ASN.1 type, which allows an attacker to read (essentially) arbitrary memory. Fix this by forcing comparison as strings. While the underlying type confusion has been present since time immemorial, this particular bug came with the EdiPartyName fix (6.8/008_asn1.patch.sig). Reported by David Benjamin, fix suggested by jsing. Release date for this was set to be January 31. Unilaterally pushed back to February 7 by OpenSSL by way of announcement of many completely unrelated embargoed issues, some of which they had been sitting on since July 2020. from tb@; OK beck@ jsing@ this is errata/7.2/018_x509.patch.sig
Diffstat (limited to 'src/usr.bin')
0 files changed, 0 insertions, 0 deletions