pixi
pixi copied to clipboard
pixi-audit: CVE-2021-42260 and CVE-2023-34194 for tinyxml even if they are patched in tinyxml-feedstock
When using pixi audit in a workspace with the latest tinyxml build, it is reporting CVE-2021-42260 and CVE-2023-34194 :
straversaro@gblaptop0086:~/pixiws/tinyxml$ pixi init .
✔ Created /home/straversaro/pixiws/tinyxml/pixi.toml
straversaro@gblaptop0086:~/pixiws/tinyxml$ pixi add tinyxml
✔ Added tinyxml >=2.6.2,<3
straversaro@gblaptop0086:~/pixiws/tinyxml$ pixi audit
⠙ Auditing /home/straversaro/pixiws/tinyxml/pixi.lock against https://
✔ Audited /home/straversaro/pixiws/tinyxml/pixi.lock [5 packages audited]
✔ Scanned for vulnerabilities [2 vulnerability matches]
├── by severity: 0 critical, 2 high, 0 medium, 0 low, 0 unknown
└── by status: 0 fixed, 2 not-fixed, 0 ignored
Name Version Fixed in Vulnerability Severity EPSS Risk Environments
C tinyxml 2.6.2 CVE-2021-42260 High 88th · 3.3% 2.3 default
C tinyxml 2.6.2 CVE-2023-34194 High 71st · 1.4% 1.0 default
✖ 2 vulnerabilities in 1 package(s) (5 audited, 0 ignored, 0 unchecked)
Assessment
• Highest finding prioritization score: 2.3 / 100
• CISA KEV matches: 0 CVEs
• Critical/high findings: 2
• Fix available in audited ecosystem: 0 of 2 vulnerabilities across 0 audited packages
• Fix only upstream: 0 vulnerabilities
• No known fix: 2 vulnerabilities
Next steps
• 2 vulnerabilities have no known fix. Remove, replace, or mitigate the affected dependencies. Use `pixi audit ignore <ID> --until-fixed` only after accepting the risk.
Add `--explain` for scoring and report definitions.
error: audit found vulnerabilities
straversaro@gblaptop0086:~/pixiws/tinyxml$ pixi list
Installed for: linux-64
Name Version Build Size Kind Source
_openmp_mutex 4.5 20_gnu 28.27 KiB conda https://conda.anaconda.org/conda-forge
libgcc 16.2.0 ha9f2e26_7 1.01 MiB conda https://conda.anaconda.org/conda-forge
libgomp 16.2.0 he0feb66_7 625.55 KiB conda https://conda.anaconda.org/conda-forge
libstdcxx 16.2.0 h934c35e_7 6.31 MiB conda https://conda.anaconda.org/conda-forge
tinyxml 2.6.2 h4dbf13b_4 59.48 KiB conda https://conda.anaconda.org/conda-forge
I patched this two CVEs (given that the upstream project does not do anymore releases) in https://github.com/conda-forge/tinyxml-feedstock/pull/8/, backporting the Debian patches. How can I let know to pixi audit that the CVE has been patched?
hey @traversaro ! The reason for this false positive is that pixi-audit cannot distinguish the build patches right now.
You can use pixi audit ignore for now until we build a patch-aware mechanism.