GHSA-m5jc-r4gf-c6p8

Suggest an improvement
Source
https://github.com/advisories/GHSA-m5jc-r4gf-c6p8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/10/GHSA-m5jc-r4gf-c6p8/GHSA-m5jc-r4gf-c6p8.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-m5jc-r4gf-c6p8
Aliases
Related
Published
2023-10-18T18:25:34Z
Modified
2023-11-02T17:34:40Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L CVSS Calculator
Summary
Arduino Create Agent path traversal - arbitrary file deletion vulnerability
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 POST 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

Database specific
{
    "nvd_published_at": "2023-10-18T21:15:09Z",
    "cwe_ids": [
        "CWE-22",
        "CWE-35"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-10-18T18:25:34Z"
}
References

Affected packages

Go / github.com/arduino/arduino-create-agent

Package

Name
github.com/arduino/arduino-create-agent
View open source insights on deps.dev
Purl
pkg:golang/github.com/arduino/arduino-create-agent

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.3.3