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.0100%KEVFix
CVE-2021-21978Critical9.899%-Fix
CVE-2023-52163High8.897%KEV-
CVE-2022-1329High8.893%--
CVE-2023-6875Critical9.890%--
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.