CWE-940Weakness · CWE-940

CVE-2025-23222

HIGH · 8.4 CVSS v3.1 Published 2025-01-24
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
89/100
Remediation priority · High
No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
An issue was discovered in Deepin dde-api-proxy through 1.0.19 in which unprivileged users can access D-Bus services as root. Specifically, dde-api-proxy runs as root and forwards messages from arbitrary local users to legacy D-Bus methods in the actual D-Bus services, and the actual D-Bus services don't know about the proxy situation (they believe that root is asking them to do things). Consequently several proxied methods, that shouldn't be accessible to non-root users, are accessible to non-root users. In situations where Polkit is involved, the caller would be treated as admin, resulting in a similar escalation of privileges.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

A privilege escalation vulnerability in Deepin dde-api-proxy allows unprivileged users to access D-Bus services as root. The proxy runs as root and forwards messages from local users to legacy D-Bus services that cannot distinguish the actual caller, believing root is making the request. This enables non-root users to access admin-only methods, with Polkit treating the caller as admin.

MitigationRestrict dde-api-proxy to forward only whitelisted, safe D-Bus methods and implement proper caller identity preservation so backend services can enforce authorization correctly.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Verify dde-api-proxy is installed
    Run 'dpkg -l dde-api-proxy' or 'which dde-api-proxy' to check if the package exists on the system
    Affected if The package is installed and running as root (check with 'ps aux | grep dde-api-proxy')
  2. Identify exposed D-Bus services
    List D-Bus system services that may be forwarded by the proxy by examining /usr/share/dbus-1/system-services/ or querying the bus with 'busctl list' as root
    Affected if Legacy D-Bus services that lack caller verification are exposed through the proxy
  3. Check proxy process privileges
    Run 'ps aux | grep dde-api-proxy' to confirm the process runs as root (UID 0)
    Affected if The dde-api-proxy process runs with root privileges
  4. Test unprivileged D-Bus access
    As a non-root user, attempt to invoke a protected method through the proxy using 'busctl call' on a known admin-only D-Bus interface (e.g., org.freedesktop.systemd1 if exposed)
    Affected if A non-root user can successfully call admin-level D-Bus methods through the proxy without authentication failures
  5. Verify Polkit behavior
    Check if Polkit authorization logs show non-root callers being granted admin privileges when accessing D-Bus methods via the proxy, by reviewing /var/log/auth.log or Polkit debug output
    Affected if Polkit grants admin-level authorization to non-root users for D-Bus calls forwarded through the proxy

A user is affected if dde-api-proxy runs as root on their Deepin system and allows non-root users to successfully invoke admin-protected D-Bus methods through the proxy without proper caller identity preservation.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Restrict dde-api-proxy to forward only whitelisted, safe D-Bus methods and implement proper caller identity preservation so backend services can enforce authorization correctly.

Have this fixed Scoped from the published advisory
  • Consultation6.0 h
  • Implementation16.0 h
  • Testing12.0 h
  • Review / QA6.0 h
40.0 hours of engineering $6,960
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $11,136.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2025-23222 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-23222 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data