CVE-2020-13846:
"Verify All" Returns Success Despite Validation Failures in Singularity
7.5
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
-
Published
12/20/2021
Updated
1/20/2023
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
github.com/sylabs/singularity | go | >= 3.5.0, < 3.6.0 | 3.6.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the 'verify --all' implementation returning success (exit code 0) despite partial validation failures. This indicates: 1) The main verify command handler (in verify.go) fails to aggregate validation errors properly when multiple descriptors are checked. 2) The signature verification logic (in sypgp/verify.go) may not surface all failure states when operating in 'all' mode. The high confidence for the first function comes from the direct correlation between the CLI behavior and exit code handling. The medium confidence for the second function is based on the requirement for descriptor-level validation to influence the final result, though exact implementation details aren't visible in provided materials.