Skip to content
Connect AISign inSign up free
CVE-2021-212499.6CriticalCWE-74

CVE-2021-21249: Post-Auth Unsafe Yaml deserialization

theonedev · onedev

Affected: theonedev onedev · Exploitation: possible (1 to 10%)

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

3.1%probability of exploitation in the next 30 days
87th percentile
050100

Higher than 87% of scored CVEs

9.6CriticalCVSS 3.1
LowCrit.

DescriptionCVE.org

OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, there is an issue involving YAML parsing which can lead to post-auth remote code execution. In order to parse and process YAML files, OneDev uses SnakeYaml which by default (when not using `SafeConstructor`) allows the instantiation of arbitrary classes. We can leverage that to run arbitrary code by instantiating classes such as `javax.script.ScriptEngineManager` and using `URLClassLoader` to load the script engine provider, resulting in the instantiation of a user controlled class. For a full example refer to the referenced GHSA. This issue was addressed in 4.0.3 by only allowing certain known classes to be deserialized

Affected products1

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • theonedev · onedev< 4.0.3

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Possible (1 to 10%). EPSS between 1% and 10%.
CISA KEV
Not listed
Public check
No public nuclei template
Vendor
theonedev
Published
January 2021

CoverageNo articles yet

No CyberSIXT article names CVE-2021-21249 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References