CVE-2025-54291: CWE-209 Generation of Error Message Containing Sensitive Information in Canonical LXD
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 Analysis
Technical Summary
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.
Affected Countries
Germany, France, United Kingdom, Netherlands, Sweden, Finland, Italy, Spain
CVE-2025-54291: CWE-209 Generation of Error Message Containing Sensitive Information in Canonical 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
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.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2025-13085: CWE-285 Improper Authorization in softaculous SiteSEO – SEO Simplified
MediumCVE-2025-12535: CWE-352 Cross-Site Request Forgery (CSRF) in brainstormforce SureForms – Contact Form, Custom Form Builder, Calculator & More
MediumCVE-2025-12056: CWE-125 Out-of-bounds Read in Shelly Pro 3Em
HighCVE-2025-11243: CWE-770 Allocation of Resources Without Limits or Throttling in Shelly Pro 4PM
HighCVE-2025-13145: CWE-502 Deserialization of Untrusted Data in smackcoders WP Import – Ultimate CSV XML Importer for WordPress
HighActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.