VDB
Sign up
MEDIUM6.1

GHSA-mjq6-pv9c-qppq

Arduino Create Agent path traversal - arbitrary file deletion vulnerability

Quick fix

GHSA-mjq6-pv9c-qppq — github.com/arduino/arduino-create-agent: upgrade to the fixed version with the command below.

go get github.com/arduino/arduino-create-agent@v1.3.3

Details

### Impact The vulnerability affects the endpoint `/v2/pkgs/tools/installed` and the way it handles plugin names supplied as user input. A user who has the ability to perform HTTP requests to the localhost interface, or is able to bypass the CORS configuration, can delete arbitrary files or folders belonging to the user that runs the Arduino Create Agent via a crafted HTTP DELETE request. Further details are available in the references.

### Fixed Version * `1.3.3`

### References The issue was reported by Nozomi Networks Labs. Further details on the issue are available at the following URL: * https://www.nozominetworks.com/blog/security-flaws-affect-a-component-of-the-arduino-create-cloud-ide

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/arduino/arduino-create-agent
Introduced in: 0Fixed in: 1.3.3
Fixgo get github.com/arduino/arduino-create-agent@v1.3.3

References