CVEs from 2022
34 real-world CVEs published in 2022. Each one is a short hands-on exercise in Hexret: find the vulnerable line, follow the exploit and learn the fix.
- CVE-2022-42821medium 5.52022
Achilles: AppleDouble ACL blocks quarantine assignment
A crafted AppleDouble companion restores a restrictive ACL onto an extracted application, preventing the com.apple.quarantine marker from being assigned and leaving Gatekeeper without the state that would trigger its checks.
- CVE-2022-31696high 8.82022
VMware ESXi SO_KEEPALIVE protocol-control-block type confusion
ESXi's custom SO_KEEPALIVE path treats a protocol-specific socket state pointer as a TCP control block even for UDP sockets, reaching TCP timer fields beyond the smaller UDP object.
- CVE-2022-42475critical 9.82022
FortiOS SSL-VPN: oversized Content-Length wraps the heap allocation
An unauthenticated HTTP request can supply a body length above the 32-bit range, causing the SSL-VPN daemon to reserve a truncated heap buffer and then receive substantially more body data into it.
- CVE-2022-1471critical 9.82022
SnakeYAML unsafe deserialization
The default YAML parser instantiates whatever Java type a document names, so parsing untrusted YAML can construct dangerous objects.
- CVE-2022-3602high 7.52022
SpookySSL: OpenSSL X.509 punycode four-byte overflow
The punycode decoder allowed insertion when its output buffer was already full, so a crafted X.509 SmtpUTF8Mailbox domain processed during name-constraint checks could shift one attacker-controlled unsigned integer past the stack buffer.
- CVE-2022-40684critical 9.82022
FortiOS trusted-source authentication bypass
A management API decides a request is a trusted local caller from a client-controlled Forwarded header and a hardcoded User-Agent, so a forged request reaches admin endpoints with no login.
- CVE-2022-42889critical 9.82022
Text4Shell: default script lookup in string interpolation
A string-interpolation helper enables every built-in lookup by default, including one that evaluates scripts, so untrusted input containing an interpolation reference runs code.
- CVE-2022-41040high 8.82022
ProxyNotShell: authenticated Autodiscover SSRF in Exchange (CVE-2022-41040)
An edge proxy authorizes a request against one parsed view of the URL, then forwards it to the backend using a different parsed view, so an authenticated user reaches a privileged internal endpoint that the front-end access check never saw.
- CVE-2022-39227critical 9.12022
python-jwt token forgery via compact/JSON parser differential
Two different JWT parsers disagree: the signature is verified over one serialization while the claims that get returned are read from another, so an attacker holding a single valid token forges arbitrary claims without the signing key.
- CVE-2022-29799medium 5.52022
Nimbuspwn: networkd-dispatcher state path traversal
An unvalidated network state is joined into a privileged hook directory, allowing script discovery to escape its intended base path.
- CVE-2022-34718critical 9.82022
EvilESP: Windows IPv6 reassembly one-byte overwrite
A decrypted ESP payload can make the saved IPv6 Next Header offset include attacker-sized payload and padding, then reassembly uses that offset to write one byte into a much smaller header allocation.
- CVE-2022-21233medium 6.02022
ÆPIC Leak: undefined APIC MMIO reads expose stale data
A privileged reader of undefined local-APIC MMIO offsets can receive architecturally visible stale values from the superqueue, including data recently transferred between the L2 and last-level cache by an SGX enclave.
- CVE-2022-34713high 7.82022
DogWalk: Diagnostic Tool path traversal
A diagnostic package can direct MSDT to a remote folder whose returned filename contains dot segments; simple path concatenation then writes the downloaded file outside the intended temporary directory.
- CVE-2022-37434critical 9.82022
zlib inflate gzip-header extra-field over-read (CVE-2022-37434)
When a gzip extra field is larger than the caller's buffer and arrives across several inflate calls, the write offset outgrows the buffer and the copy's size clamp underflows, corrupting the heap.
- CVE-2022-27255critical 9.82022
Realtek eCos SIP ALG SDP stack overflow
The router's SIP ALG rewrites attacker-supplied SIP and SDP text by copying an overlong argument with strcpy into a fixed stack buffer.
- CVE-2022-26134critical 9.82022
Confluence OGNL injection in the request path
An unauthenticated request whose URL path becomes a routing value is passed to a variable-interpolation helper that evaluates the value as an OGNL expression, giving remote code execution.
- CVE-2022-30190high 7.82022
Follina: ms-msdt URL-scheme code injection
A document-hosted script invokes the local MSDT diagnostic handler through the ms-msdt URL scheme, and a $() subexpression inside a diagnostic parameter is evaluated as a PowerShell command, giving macro-less code execution.
- CVE-2022-22972critical 9.82022
VMware Workspace ONE Access host-header authentication bypass
The local-login handler builds its credential-check URL from the client-supplied Host header and treats a 200 response as proof the password is valid, so an attacker who points the Host at a server they control logs in as any local user.
- CVE-2022-26923high 8.82022
Certifried: AD CS certificate SAN spoofed from a writable dNSHostName
A certificate template that builds its Subject Alternative Name from the enrollee's dNSHostName lets a low-privileged user mint an authentication certificate for any machine, because dNSHostName is self-writable and not unique.
- CVE-2022-1388critical 9.82022
F5 BIG-IP iControl REST authentication bypass
A reverse-proxy auth layer grants access on the mere presence of a token header, and the same proxy strips any header a client names in Connection, so a crafted request reaches an internal command endpoint with no valid credentials.
- CVE-2022-0540critical 9.82022
Jira Seraph authentication bypass (namespace roles-required)
An authorization filter keys its access decision on the raw request path and treats a lookup miss as public, so a request whose path is normalized differently by the action dispatcher slips past the check and runs a protected action unauthenticated.
- CVE-2022-22954critical 9.82022
Workspace ONE device parameter FreeMarker evaluation
Unauthenticated catalog-portal error paths embedded deviceUdid or deviceType query values into FreeMarker-rendered output. A value containing a FreeMarker expression was evaluated as template source rather than emitted as data, exposing built-in utility classes available to the template environment.
- CVE-2022-22965critical 9.82022
Spring4Shell: data binding reaches the ClassLoader
A denylist meant to keep classLoader unbindable only fires on the exact reflection Class type, so a nested bind reaching a ClassLoader through another type slips past it and drives arbitrary code execution.
- CVE-2022-22963critical 9.82022
Spring Cloud Function header-supplied SpEL injection
The function router evaluated a routing expression taken from an HTTP-derived message header with Spring's powerful standard expression context, allowing untrusted input to invoke Java types and methods instead of merely selecting a function.
- CVE-2021-3618high 7.42022
ALPACA: a valid certificate for the wrong protocol
A TCP-level man-in-the-middle could redirect HTTPS traffic to a tolerant non-HTTP TLS service using a certificate valid for the target hostname. Without ALPN or strict SNI binding, TLS authenticated the key but not the intended application protocol.
- CVE-2022-0811high 8.82022
cr8escape: a pod sysctl value smuggles a second kernel parameter
A pod sysctl value is serialized into a delimiter-joined argument without being checked for the delimiter, so one approved setting smuggles a second kernel parameter that runs code as root on the node.
- CVE-2022-0847high 7.82022
Dirty Pipe: uninitialized pipe-buffer flag overwrites read-only pages
A newly populated pipe buffer never resets its flags field, so a stale merge flag lets a later write land directly in a read-only file's page cache.
- CVE-2022-0492high 7.82022
Linux cgroups v1 release_agent privilege escalation
A kernel handler writes an attacker-supplied path into a setting the kernel later executes as full root, but never checks that the caller holds the capability to set it, so an unprivileged namespace can escape to host root.
- CVE-2022-22947critical 10.02022
Spring Cloud Gateway SpEL code injection via Actuator route
An argument value from an Actuator-defined route filter is evaluated as a Spring Expression Language expression in an unrestricted context, so a crafted route runs arbitrary code on refresh.
- CVE-2022-0543critical 10.02022
Redis Lua sandbox escape via a reachable library loader
A distro build dynamically links the full Lua library and hardens the sandbox by nil-ing require and module, but leaves the package loader reachable, so a script loads a native library and runs shell commands.
- CVE-2022-0185high 8.42022
Linux fs_context cumulative-length underflow
The legacy filesystem-parameter size check subtracted an almost-full buffer size from PAGE_SIZE, wrapped to a huge value, and allowed subsequent writes past a page allocation.
- CVE-2022-24348high 7.72022
Argo CD Helm value-file path traversal
A containment check on Helm value-file paths runs only when the path fails to parse as a URI, so a client-supplied absolute path parses cleanly, skips the check, and reads files from outside the repository root.
- CVE-2021-4034high 7.82022
polkit pkexec empty-argv environment corruption (PwnKit, CVE-2021-4034)
Run with an empty argument vector, the setuid-root pkexec reads and then writes argv[1], which aliases the environment, reintroducing a stripped variable (GCONV_PATH) to gain local root. Nicknamed PwnKit (a pun on polkit), it sat unnoticed for over twelve years and affects nearly every Linux distribution.
- CVE-2022-21894medium 4.42022
Baton Drop: Windows Secure Boot policy removal
A privileged boot configuration can truncate the memory map before a boot application consumes its serialized Secure Boot policy, causing dangerous settings to be evaluated without the policy that should reject them.