CVE-2025-59518
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-09-17

Last updated on: 2025-09-17

Assigner: MITRE

Description
In LemonLDAP::NG before 2.16.7 and 2.17 through 2.21 before 2.21.3, OS command injection can occur in the Safe jail. It does not Localize _ during rule evaluation. Thus, an administrator who can edit a rule evaluated by the Safe jail can execute commands on the server.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-09-17
Last Modified
2025-09-17
Generated
2026-05-07
AI Q&A
2025-09-17
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
lemonldap ng *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart