Security advisory
OneDev is a development operations platform. If the LDAP external authentication mechanism is enabled in OneDev versions 4.4.1 and prior, an attacker can manipulate a user search filter to send forged queries to the application and explore the LDAP tree using Blind LDAP Injection techniques. The specific payload depends on how the User Search Filter property is configured in OneDev. This issue was fixed in version 4.4.2.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-32651
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:44 UTC · Revision 1
Source evidence
OneDev is a development operations platform. If the LDAP external authentication mechanism is enabled in OneDev versions 4.4.1 and prior, an attacker can manipulate a user search filter to send forged queries to the application and explore the LDAP tree using Blind LDAP Injection techniques. The specific payload depends on how the User Search Filter property is configured in OneDev. This issue was fixed in version 4.4.2.
osv:CVE-2021-32651
Complete source record
{
"id": "3c75fb163752f9f0b0789087efa4aee445e1d99667b9a332b6088eb781f02c1e",
"url": "https://osv.dev/vulnerability/CVE-2021-32651",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-32651",
"summary": "OneDev is a development operations platform. If the LDAP external authentication mechanism is enabled in OneDev versions 4.4.1 and prior, an attacker can manipulate a user search filter to send forged queries to the application and explore the LDAP tree using Blind LDAP Injection techniques. The specific payload depends on how the User Search Filter property is configured in OneDev. This issue was fixed in version 4.4.2.",
"evidence": "osv:CVE-2021-32651",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-32651",
"aliases": [
"CVE-2021-32651",
"GHSA-5864-2496-4xjf"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/theonedev/onedev",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "64c8d84167d8fa86bc7a0bc7e150c8d50fa01e79"
},
{
"fixed": "4440f0c57e440488d7e653417b2547eaae8ad19c"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:onedev_project:onedev:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "4.4.2"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "4440f0c57e440488d7e653417b2547eaae8ad19c"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v4.4.1",
"v4.4.0",
"v4.3.2",
"v4.3.0",
"v4.2.5",
"v4.2.4",
"v4.2.3",
"v4.2.2",
"v4.2.1",
"v4.2.0",
"v4.1.6",
"v4.1.5",
"v4.1.4",
"v4.1.3",
"v4.1.2",
"v4.1.0",
"v4.0.9",
"v4.0.8",
"v4.0.7",
"v4.0.6",
"v4.0.5",
"v4.0.4",
"v4.0.3",
"v4.0.2",
"v4.0.1",
"v4.0.0",
"v3.2.4",
"v3.2.3",
"v3.2.2",
"v3.2.1",
"v3.2.0",
"v3.1.2",
"v3.1.1",
"v3.1.0",
"v3.0.10",
"v3.0.9",
"v3.0.8",
"v3.0.7",
"v3.0.6",
"v3.0.5",
"v3.0.4",
"2.0.5",
"2.0.4",
"2.0.0",
"2.0-beta-build120",
"2.0-beta-build119"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32651.json",
"vanir_signatures": [
{
"id": "CVE-2021-32651-1f7e7f7c",
"digest": {
"length": 4131,
"function_hash": "175599300948993935965937822669840765670"
},
"source": "https://github.com/theonedev/onedev/commit/4440f0c57e440488d7e653417b2547eaae8ad19c",
"target": {
"file": "server-plugin/server-plugin-authenticator-ldap/src/main/java/io/onedev/server/plugin/authenticator/ldap/LdapAuthenticator.java",
"function": "authenticate"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2021-32651-75f12d1f",
"digest": {
"threshold": 0.9,
"line_hashes": [
"104198687706185393177565128129944597539",
"233880601156320118142046652075522701560",
"209951362457502444052171025280170370804",
"271731661947284393394019923544823888461",
"207824545929414337812953787022290975758"
]
},
"source": "https://github.com/theonedev/onedev/commit/4440f0c57e440488d7e653417b2547eaae8ad19c",
"target": {
"file": "server-plugin/server-plugin-authenticator-ldap/src/main/java/io/onedev/server/plugin/authenticator/ldap/LdapAuthenticator.java"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T14:24:30Z"
}
}
],
"modified": "2026-10-20T14:24:30.949355708Z",
"provider": "osv",
"references": [
"https://github.com/theonedev/onedev/commit/4440f0c57e440488d7e653417b2547eaae8ad19c",
"https://github.com/theonedev/onedev/security/advisories/GHSA-5864-2496-4xjf"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-32651",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 388925,
"published_at": "2021-06-01T18:15:07.747+00:00"
}