Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-54291: CWE-209 Generation of Error Message Containing Sensitive Information in Canonical LXD

0
Medium
VulnerabilityCVE-2025-54291cvecve-2025-54291cwe-209
Published: Thu Oct 02 2025 (10/02/2025, 09:25:42 UTC)
Source: CVE Database V5
Vendor/Project: Canonical
Product: LXD

Description

Information disclosure in images API in Canonical LXD before 6.5 and 5.21.4 on all platforms allows unauthenticated remote attackers to determine project existence via differing HTTP status code responses.

AI-Powered Analysis

AILast updated: 10/09/2025, 10:06:00 UTC

Technical Analysis

CVE-2025-54291 is a medium-severity information disclosure vulnerability identified in Canonical's LXD container management system, specifically in the images API component. The vulnerability is classified under CWE-209, which involves the generation of error messages containing sensitive information. In this case, the images API responds with different HTTP status codes depending on whether a queried project exists or not. Because these responses differ, unauthenticated remote attackers can determine the existence of projects without needing credentials or user interaction. This form of information leakage can facilitate further targeted attacks by revealing valid project names or identifiers that might otherwise be concealed. The vulnerability affects LXD versions prior to 6.5 and 5.21.4 across all supported platforms. The CVSS v4.0 base score is 6.9, indicating a medium severity level, with an attack vector of network (AV:N), low attack complexity (AC:L), no privileges required (PR:N), and no user interaction (UI:N). The impact is limited to confidentiality (VC:L) with no effect on integrity or availability. No patches were linked in the provided data, but Canonical typically addresses such issues promptly in subsequent releases. No known exploits have been reported in the wild, suggesting limited active exploitation at this time. However, the ability to enumerate projects can aid attackers in reconnaissance phases, potentially leading to more severe attacks if combined with other vulnerabilities or misconfigurations.

Potential Impact

For European organizations, the primary impact of CVE-2025-54291 lies in the potential for attackers to gather intelligence about containerized environments managed by LXD. By enumerating existing projects, attackers can identify valuable targets or infer organizational structure and deployment strategies. This reconnaissance capability can facilitate subsequent attacks such as privilege escalation, lateral movement, or targeted exploitation of other vulnerabilities. While the vulnerability does not directly compromise confidentiality, integrity, or availability of data or services, it lowers the barrier for attackers to plan more effective attacks. Organizations relying heavily on LXD for container orchestration, especially in sectors with sensitive data or critical infrastructure, may face increased risk if this vulnerability is left unpatched. Additionally, compliance with data protection regulations such as GDPR may be impacted if sensitive project information is indirectly exposed. The lack of authentication requirement and ease of exploitation increase the urgency for mitigation in environments exposed to untrusted networks.

Mitigation Recommendations

European organizations should implement the following specific mitigation steps: 1) Upgrade LXD installations to version 6.5 or 5.21.4 or later, where the vulnerability is fixed. 2) If immediate patching is not feasible, restrict access to the LXD images API by implementing network-level controls such as firewall rules or VPN access to limit exposure to trusted users only. 3) Employ web application firewalls (WAFs) or API gateways capable of normalizing or blocking anomalous HTTP status code patterns that could be used for project enumeration. 4) Monitor logs for unusual or repeated HTTP requests to the images API that may indicate reconnaissance attempts. 5) Conduct internal audits to identify and remove any unnecessary exposure of LXD management interfaces to public or untrusted networks. 6) Educate DevOps and security teams about the risks of information leakage through error messages and encourage secure API design and error handling practices. 7) Maintain an up-to-date inventory of container projects and their exposure to quickly identify and respond to suspicious activities related to project enumeration.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
canonical
Date Reserved
2025-07-18T07:59:07.917Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 68de46967ead30c0938fe4d0

Added to database: 10/2/2025, 9:32:06 AM

Last enriched: 10/9/2025, 10:06:00 AM

Last updated: 11/19/2025, 7:20:36 AM

Views: 62

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats