CVE-2021-21243CWE-74

Pre-Auth Unsafe Deserialization on KubernetesResource

Critical · published January 15, 2021

Patch now

High probability of exploitation

CVSS calls it critical at 10.0. It sits in the 99.0th percentile for exploit probability.

CVSS v3.1
10.0
EPSS
54%
Percentile
99.0
In the wild
Unconfirmed
What it is

🚨 No password needed, just an untrusted request! OneDev before version 4.0.3 has a Kubernetes REST endpoint that lets attackers send data without any authentication—think of it like letting anyone walk into a secure vault just by waving a piece of paper. 🔥 This is like a restaurant where the chef blindly follows orders from anyone without verifying the customer’s identity, potentially serving up a dish that could cause chaos in the kitchen! An attacker could execute arbitrary code before even logging in, allowing them to take complete control of the OneDev instance. This is absolutely devastating, as they could manipulate data, disrupt services, or even pivot further into your infrastructure!

Put simply

This is like a restaurant where the chef blindly follows orders from anyone without verifying the customer’s identity, potentially serving up a dish that could cause chaos in the kitchen! This vulnerability allows pre-authentication remote code execution (RCE) through deserialization of untrusted data received by exposed Kubernetes REST endpoints that lack proper authentication and authorization checks.

What to do

An attacker could execute arbitrary code before even logging in, allowing them to take complete control of the OneDev instance. This is absolutely devastating, as they could manipulate data, disrupt services, or even pivot further into your infrastructure! Immediately upgrade OneDev to version 4.0.3 or later to mitigate this vulnerability. Review your deployment settings to ensure that unauthorized access is not possible, and consider implementing additional security measures like API gateways. 🔒 You've got this! By patching and reviewing your security settings, you're on your way to making the internet a safer place. 🛡️

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.54494 · 99.0th percentile
Weakness
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Published
2021-01-15T20:05Z
EPSS history
Timeline
  • 15 JAN 20:05Z
    Pre-Auth Unsafe Deserialization on KubernetesResource
    cvelistv5