CVEs from 2014
7 real-world CVEs published in 2014. Each one is a short hands-on exercise in Hexret: find the vulnerable line, follow the exploit and learn the fix.
- CVE-2014-6321critical 10.02014
WinShock: Schannel ECDSA signature heap overflow
Schannel sizes a signature destination from the ECC key length but copies two DER-decoded integers using attacker-controlled component lengths, allowing their combined size to exceed the allocation.
- CVE-2014-3566medium 4.32014
POODLE: SSL 3.0 CBC padding oracle
When a block-cipher record layer strips CBC padding using only the final byte and never authenticates the padding content, accept-versus-reject leaks one plaintext byte per aligned request.
- CVE-2014-1568high 7.52014
BERserk: NSS accepts forged RSA signatures through ASN.1
NSS treated a permissively parsed ASN.1 DigestInfo as sufficient proof of a PKCS#1 v1.5 signature, allowing specially formed low-exponent RSA values with noncanonical length encodings and hidden data to pass verification.
- CVE-2014-6271critical 9.82014
Bash environment function import command injection (Shellshock, CVE-2014-6271)
Bash imported environment variables that looked like exported functions by parsing them with its full evaluator, which did not stop at the end of the function body, so any commands appended after it ran at shell startup. Nicknamed Shellshock (a pun on the WWI term shell shock, reframed as a shock to the Unix shell), it became remote code execution wherever a server passed untrusted data into bash's environment, most notably CGI.
- CVE-2014-0224high 7.42014
CCS Injection: an early TLS state change fixes weak keys
OpenSSL accepted ChangeCipherSpec after cipher selection but before the master secret existed, so injected CCS messages could install keys derived from an empty master secret and let a man-in-the-middle decrypt or alter traffic.
- CVE-2014-0160high 7.52014
OpenSSL heartbeat over-read (Heartbleed, CVE-2014-0160)
A TLS heartbeat handler copies a peer-supplied payload length without checking it against the bytes actually received, reading up to roughly 64KB of process memory per request and echoing it back. Nicknamed Heartbleed because the heartbeat extension was made to bleed memory, it leaked session data, credentials, and even private keys, and is widely credited with popularizing branded vulnerabilities (its own name, logo, and website).
- CVE-2014-1266high 7.42014
Apple goto fail: skipped TLS signature check
A duplicated goto jumps past the signature verification in a TLS key-exchange handler, so the function returns success without ever checking the signature, letting a man-in-the-middle spoof any server.