gatsby-uc / gatsby-plugin-s3

Deploy your gatsby site to a S3 bucket.
https://gatsby-plugin-s3.jari.io/
MIT License
210 stars 111 forks source link

upgrading to proxy-agent 6.3 to avoid vulnerabilities #458

Open DimejiFaluyi opened 1 year ago

DimejiFaluyi commented 1 year ago

CVE-2023-37903

I would like to update to proxy-agent 6.3 to avoid a vuln around older versions of proxy-agent that use vm2 which allows for Remote Code Execution.

Background info: vm2 is an open source vm/sandbox for Node.js. In vm2 for versions up to and including 3.9.19, Node.js custom inspect function allows attackers to escape the sandbox and run arbitrary code. This may result in Remote Code Execution, assuming the attacker has arbitrary code execution primitive inside the context of vm2 sandbox. There are no patches and no known workarounds. Users are advised to find an alternative software

I've linked the proxy-agent changelog here.

DimejiFaluyi commented 1 year ago

@JoshuaWalsh tagging just in case.

DimejiFaluyi commented 1 year ago

tagging @jariz just in case as well

mglombicki-square commented 1 year ago

@JoshuaWalsh / @jariz is this a change you could review? Updating proxy-agent would help get rid of a vulnerability in the dependency chain.