Closed esarver closed 1 month ago
Would be great to get a new release with this fixed :)
Dependency on libxmljs2 version <= 0.35.0 which is known to have a vulnerability labeled "High" (8.1): CVE-2024-34394. The vulnerability is process driven and not active by default.
see also: https://github.com/CycloneDX/cyclonedx-javascript-library/issues/1061
It assured that this vulnerability is not coming to action, the vulnerable code is not executed, and we have a unit test checking this: https://github.com/CycloneDX/cyclonedx-javascript-library/blob/bdbe727e48a34f6276a4e4a3056b11943fe9e2f4/tests/functional/internals/OpPlug.node.xmlValidator.implementation.spec.js#L70-L95
The dependency is required for XML-related features in this tool. It is managed here: https://github.com/CycloneDX/cyclonedx-javascript-library/issues/1079
npm audit fix
--force does not fix the issue.Would be great to get a new release with this fixed :)
there simply is no fix. there is, to my knowledge, no replacement. but most important: there is no issue, there is nothing to fix - as stated above.
some background: the dependency/library COULD potentially cause issues, IF it was used wrong. it is asserted, that it is NOT used wrong.
Thank you for clarifying this.
Of course for many projects we still get a warning, and if we have hundreds of warnings then tracking which are really relevant becomes hard.
Since https://www.npmjs.com/package/libxmljs2 is no longer maintained it should be replaced, or forked and the dependencies updated to move forward.
Since https://www.npmjs.com/package/libxmljs2 is no longer maintained it should be replaced, or forked and the dependencies updated to move forward.
thats what https://github.com/CycloneDX/cyclonedx-javascript-library/issues/1079 is for.
As usual, this is free open source software - maintained by unpaid volunteers in their spare time. If you know a business that relies on this software, you are welcome to help improve that critical software your business runs on. For example, you could research replacements and publish your findings in that mentioned ticket, and donate the code to "move forward". :D
Any substantial help is more than welcome.
Describe the bug
Dependency on libxmljs2 version <= 0.35.0 which is known to have a vulnerability labeled "High" (8.1): CVE-2024-34394.
Even if this is expected to not be an exploitable issue, those who include this tool as a Dev Dependency are getting Dependabot alerts.
Screenshots or output-paste
npm audit fix --force
does not fix the issue.