CVE-2023-43800: Github.com/arduino/arduino create agent Arduino Create Agent Insufficient Verification Vulnerability

HIGH
Advisory Identifier: GHSA-4x5q-q7wc-q22p
CVSS 7.3
CWE-345
Published
Advisory Summary

CVE-2023-43800 is a HIGH (CVSS 7.3) arduino create agent insufficient verification vulnerability (CWE-345: Insufficient Verification of Data Authenticity) affecting Github.com/arduino/arduino create agent libraries in the Go ecosystem. The issue involves arduino create agent insufficient verification of data authenticity vulnerability. Remediation is available by upgrading affected packages to version 1.3.3.

CVE-2023-43800 at a Glance

CVE Identifier CVE-2023-43800
GHSA Identifier GHSA-4x5q-q7wc-q22p
Severity HIGH
CVSS v3.1 Base Score 7.3
CWE Classification CWE-345: Insufficient Verification of Data Authenticity
Affected Product Github.com/arduino/arduino create agent
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 7.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability Low (A:L)

How to Fix CVE-2023-43800

To remediate this vulnerability, upgrade all affected Github.com/arduino/arduino create agent dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/arduino/arduino-create-agent fixed: 1.3.3
Upgrade github.com/arduino/arduino-create-agent to 1.3.3
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/arduino/arduino-create-agent

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-43800, inspect your project dependencies for Github.com/arduino/arduino create agent:

inspect dependencies for github.com/arduino/arduino-create-agent

Analyze the terminal output to locate any version of Github.com/arduino/arduino create agent in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.3.3), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-345: Insufficient Verification of Data Authenticity, where the product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data. In Github.com/arduino/arduino create agent, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact The vulnerability affects the endpoint `/v2/pkgs/tools/installed`. A user who has the ability to perform HTTP requests to the localhost interface, or is able to bypass the CORS configuration, can escalate his privileges to those of the user running the Arduino Create Agent service 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 are available at the following URL: * https://www.nozominetworks.com/blog/security-flaws-affect-a-component-of-the-arduino-create-cloud-ide

CVE-2023-43800 Affected Github.com/arduino/arduino create agent Versions

1 component(s)
Fixed Versions:
1.3.3
Product / Package Ecosystem Affected Versions Fixed Version
github.com/arduino/arduino-create-agent
Go
< 1.3.3
1.3.3

References

Frequently Asked Questions

What is CVE-2023-43800?
CVE-2023-43800 is a security vulnerability in Github.com/arduino/arduino create agent involving Arduino Create Agent Insufficient Verification of Data Authenticity vulnerability under CWE-345: Insufficient Verification of Data Authenticity.
Which Github.com/arduino/arduino create agent versions are affected?
Affected versions include releases prior to 1.3.3 across affected packages: github.com/arduino/arduino-create-agent.
What version fixes CVE-2023-43800?
Upgrading to 1.3.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/arduino/arduino-create-agent affected?
Yes, github.com/arduino/arduino-create-agent is affected in releases prior to 1.3.3. Upgrade your dependency to 1.3.3 or later.
What is the CVSS score of CVE-2023-43800?
CVE-2023-43800 has a CVSS v3.1 base score of 7.3 (HIGH) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L.
What CWE is associated with CVE-2023-43800?
CVE-2023-43800 is classified under CWE-345: Insufficient Verification of Data Authenticity (The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.).
How can I check Go dependencies for CVE-2023-43800?
Run the dependency tree command: 'inspect dependencies for github.com/arduino/arduino-create-agent'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-4x5q-q7wc-q22p",
  "modified" : "2023-11-02T17:33:32Z",
  "published" : "2023-10-18T15:54:26Z",
  "aliases" : [ "CVE-2023-43800" ],
  "summary" : "Arduino Create Agent Insufficient Verification of Data Authenticity vulnerability",
  "details" : "### Impact\nThe vulnerability affects the endpoint `/v2/pkgs/tools/installed`. A user who has the ability to perform HTTP requests to the localhost interface, or is able to bypass the CORS configuration, can escalate his privileges to those of the user running the Arduino Create Agent service via a crafted HTTP POST request.\nFurther details are available in the references.\n\n### Fixed Version\n* `1.3.3`\n\n### References\nThe issue was reported by Nozomi Networks Labs. Further details are available at the following URL:\n* https://www.nozominetworks.com/blog/security-flaws-affect-a-component-of-the-arduino-create-cloud-ide",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/arduino/arduino-create-agent"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.3.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/arduino/arduino-create-agent/security/advisories/GHSA-4x5q-q7wc-q22p"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-43800"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/arduino/arduino-create-agent"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/arduino/arduino-create-agent/releases/tag/1.3.3"
  }, {
    "type" : "WEB",
    "url" : "https://www.nozominetworks.com/blog/security-flaws-affect-a-component-of-the-arduino-create-cloud-ide"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-345" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-10-18T15:54:26Z",
    "nvd_published_at" : "2023-10-18T22:15:09Z"
  }
}