Cyber Risks · Trail of Bits Blog

Out of the kernel, into the tokens

Summary: Trail of Bits detailed two archived findings: a JWT denial-of-service in which an attacker sets the p2c header parameter to a very large iteration count, forcing the recipient to perform 2,147,483,647 PBKDF2 iterations to derive the Content Encryption Key before validating the token, affecting go-jose, jose2go, square/go-jose, and josekit-rs. The second is a Linux kernel access control flaw, fixed in commit b25a7c5af905 but never assigned a CVE, that exposed kernel module pointer addresses to root processes without CAP_SYSLOG inside unprivileged Docker containers, bypassing KASLR.

What you should know: The KASLR bypass was fixed in the kernel but never received a CVE, square/go-jose remains unfixed as a deprecated library, and Ubuntu 18 on kernel 4.15 is still vulnerable because the fix was not backported - so your asset inventory may not flag any of them.

Read the original at Trail of Bits Blog ↗

Topics
Vulnerabilities & Patching
Related