Description
In the Linux kernel, the following vulnerability has been resolved: X.509: Fix out-of-bounds access when parsing extensions Leo reports an out-of-bounds access when parsing a certificate with empty Basic Constraints or Key Usage extension because the first byte of the extension is read before checking its length. Fix it. The bug can be triggered by an unprivileged user by submitting a specially crafted certificate to the kernel through the keyrings(7) API. Leo has demonstrated this with a proof-of-concept program responsibly disclosed off-list.
Product status
30eae2b037af54b24109dcaea21db46f6285c69b (git) before 672b526def1f94c1be8eb11b885b803da0d8c2f1
30eae2b037af54b24109dcaea21db46f6285c69b (git) before 30ab358fad0c7daa1d282ec48089901b21b36a20
30eae2b037af54b24109dcaea21db46f6285c69b (git) before 206121294b9cf27f0589857f80d64f87e496ffb2
30eae2b037af54b24109dcaea21db46f6285c69b (git) before 7fb4dadc2734f4020d7543d688b8d49c8e569c61
30eae2b037af54b24109dcaea21db46f6285c69b (git) before d702c3408213bb12bd570bb97204d8340d141c51
6.4
Any version before 6.4
6.6.135 (semver)
6.12.82 (semver)
6.18.23 (semver)
6.19.13 (semver)
7.0 (original_commit_for_fix)
References
git.kernel.org/...c/672b526def1f94c1be8eb11b885b803da0d8c2f1
git.kernel.org/...c/30ab358fad0c7daa1d282ec48089901b21b36a20
git.kernel.org/...c/206121294b9cf27f0589857f80d64f87e496ffb2
git.kernel.org/...c/7fb4dadc2734f4020d7543d688b8d49c8e569c61
git.kernel.org/...c/d702c3408213bb12bd570bb97204d8340d141c51