DorisApplication · Apache

CVE-2023-41313

CRITICAL · 9.8 CVSS v3.1 Published 2024-03-12
Fix available
A fix is available. Upgrade to 1.2.8 or later.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable 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
The authentication method in Apache Doris versions before 2.0.0 was vulnerable to timing attacks. Users are recommended to upgrade to version 2.0.0 + or 1.2.8, which fixes this issue.

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 · moderate confidence

Apache Doris versions before 2.0.0 contained a timing attack vulnerability in the authentication method that allows remote attackers to potentially deduce valid credentials by analyzing subtle differences in authentication response times.

MitigationUpgrade Apache Doris to version 2.0.0 or later, or version 1.2.8 or later, to remediate the timing attack vulnerability in the authentication module.

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

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
DorisApplication
Affected:< 1.2.8

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
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/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. Identify Apache Doris installation and version
    Check the installed Apache Doris version by querying the FE (Frontend) process or checking the version file. Common methods: (1) Query FE via MySQL client: SHOW VARIABLES LIKE 'version'; (2) Check fe/conf/doris-env.sh or fe/conf/fe.conf for version settings; (3) Check BE (Backend) version via heartbeat port. Compare your installed version against the affected ranges: < 1.2.8 or < 2.0.0.
    Affected if The installed version is before 1.2.8 (for 1.x branches) or before 2.0.0 (for 2.x branches).
  2. Verify authentication interface is exposed
    Confirm that the Apache Doris FE (Frontend) service is listening on its MySQL protocol port (typically 9030 by default). Check with: netstat -tlnp | grep 9030 or ss -tlnp | grep 9030. Also verify network accessibility if the service is exposed to untrusted networks.
    Affected if The FE port 9030 (or custom port) is open and accessible from network segments where untrusted users could send authentication requests.
  3. Check for timing variance in authentication responses
    This is the core vulnerability: send multiple authentication attempts with slight variations (e.g., correct username with wrong password vs. wrong username) and measure response times. A vulnerable system exhibits measurable timing differences that correlate with credential correctness. This check typically requires security testing tools or scripted timing measurements.
    Affected if Authentication response times show statistically significant differences (>10-50ms) when testing different username/password combinations, indicating the timing leak exists.

A system is affected if it runs Apache Doris version 1.x before 1.2.8 (or any version before 2.0.0) with the FE authentication port accessible to untrusted users, and timing analysis of login attempts reveals measurable differences.

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.

dbcve · scoped
Upgrade available Upgrade to 1.2.8 or later
Fixed in 1.2.8
Interim mitigation

Upgrade Apache Doris to version 2.0.0 or later, or version 1.2.8 or later, to remediate the timing attack vulnerability in the authentication module.

Recommended fix High confidence

Upgrade to Apache Doris 1.2.8 or 2.0.0+

  1. 1. Back up your current Doris deployment, databases, and configuration files
  2. 2. Stop the Doris service cleanly to avoid data corruption
  3. 3. Download Apache Doris version 1.2.8 or version 2.0.0+ from the official Apache Doris repository (https://doris.apache.org/download/)
  4. 4. Install the upgraded Doris version following the standard upgrade procedure in the Apache Doris documentation
  5. 5. Start the Doris service and verify all nodes are healthy
  6. 6. Test authentication to confirm the timing attack vulnerability is remediated
  7. 7. Verify that existing queries and workloads function normally after the upgrade
Caveat Major version upgrade to 2.0.0 may introduce breaking changes; review the 2.0.0 release notes for migration considerations

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Doris Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing4.0 h
  • Review / QA3.0 h
19.0 hours of engineering $3,380
Get the upgrade done

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

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2023-41313 — 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-2023-41313 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