oclif / core

Node.js Open CLI Framework. Built by Salesforce.
https://oclif.io
MIT License
208 stars 71 forks source link

Library with high vulnerability #1210

Closed lugogregory closed 1 month ago

lugogregory commented 1 month ago

I am using its most updated version v-4.0.23, and performing a quality test with Kiuwan, a library with high vulnerability has been detected. It is the library: is-docker@2.0.0, which is a dependency of another library: is-wsl@2.2.0. The vulnerability error it flags is the following:

runc through 1.0-rc6, as used in Docker before 18.09.2 and other products, allows attackers to overwrite the host runc binary (and consequently obtain host root access) by leveraging the ability to execute a command as root within one of these types of containers: (1) a new container with an attacker-controlled image, or (2) an existing container, to which the attacker previously had write access, that can be attached with docker exec. This occurs because of file-descriptor mishandling, related to /proc/self/exe.

I propose to carry out a test on these libraries and, as far as possible, update them to avoid high vulnerabilities.

image

git2gus[bot] commented 1 month ago

This issue has been linked to a new work item: W-16889365