CVE-2025-59518
BaseFortify
Publication date: 2025-09-17
Last updated on: 2025-09-17
Assigner: MITRE
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| lemonldap | ng | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-78 | The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2025-59518 is a shell command injection vulnerability in the Safe Jail component of LemonLDAP::NG. It occurs because the Safe Jail does not localize the underscore character (_) during rule evaluation, allowing an administrator who can edit rules evaluated by Safe Jail to execute arbitrary commands on the server. [1]
How can this vulnerability impact me? :
This vulnerability allows an administrator with rule editing privileges to execute arbitrary shell commands on the server, which can lead to full compromise of the server's confidentiality, integrity, and availability. [1]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include localizing the underscore variable before executing any administrator-supplied code in the Safe Jail component to prevent shell command injection. Additionally, enforcing SELinux policies may help block arbitrary command execution, although this has not been confirmed. It is also advisable to update LemonLDAP::NG to versions 2.16.7 or later, or 2.21.3 or later, where this vulnerability is fixed. [1]