CVE & CISA-KEV Catalog

CVE-2021-21246

HIGHEPSS 99th pctl
8.6
CVSS v3
NVD

Description

OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, the REST UserResource endpoint performs a security check to make sure that only administrators can list user details. However for the `/users/{id}` endpoint there are no security checks enforced so it is possible to retrieve arbitrary user details including their Access Tokens! These access tokens can be used to access the API or clone code in the build spec via the HTTP(S) protocol. It has permissions to all projects accessible by the user account. This issue may lead to `Sensitive data leak` and leak the Access Token which can be used to impersonate the administrator or any other users. This issue was addressed in 4.0.3 by removing user info from restful api.

How to fix

Remediation Available
onedevNVD
Affected:< 4.0.3Fixed in:4.0.3CVE-2021-21246derived from NVD

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeChanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Exploit Intelligence

49.05%probability of exploitation in 30 days
99thpercentile

Very high risk: more likely to be exploited than 99% of all known CVEs.

References

Third-Party Advisory1

Related Vulnerabilities

Other CWE-862 (Missing Authorization) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2021-39226Critical9.8100%KEVFix
CVE-2022-0543Critical10.099%KEVFix
CVE-2021-21978Critical9.899%-Fix
CVE-2023-52163High8.897%KEV-
CVE-2022-1329High8.893%--
CVE-2023-6875Critical9.890%--

Common questions

How do I fix CVE-2021-21246?

Upgrade onedev to 4.0.3 or later.

Is CVE-2021-21246 being actively exploited?

Not that we know of. CVE-2021-21246 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 49.1% is the estimated probability that it will be exploited in the next 30 days. That is higher than 99% of all scored CVEs.

How severe is CVE-2021-21246?

CVE-2021-21246 has a CVSS v3 base score of 8.6, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2021-21246 affect?

Published advisories record a fix for onedev (NVD). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2021-21246
CVE-2021-21246 severity badge

Markdown

[![CVE-2021-21246](https://tridentstack.com/cve/badge/CVE-2021-21246.svg)](https://tridentstack.com/cve/CVE-2021-21246)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-21246"><img src="https://tridentstack.com/cve/badge/CVE-2021-21246.svg" alt="CVE-2021-21246"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.