# CVE-2023-43800: Insufficient Verification of Data Authenticity in Arduino Create Agent

> Attackers can escalate privileges to the service user via crafted HTTP requests to the local Arduino Create Agent endpoint.

- **Severity:** High 7.3 (`CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 18 Oct 2023
- **Updated:** 12 Sep 2024
- **Also known as:** GHSA-4x5q-q7wc-q22p

## What is CVE-2023-43800?

CVE-2023-43800 is a high-severity vulnerability in arduino-create-agent, published on 18 Oct 2023. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

Arduino Create Agent is a package to help manage Arduino development. 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. This issue has been addressed in version `1.3.3`. Users are advised to upgrade. There are no known workarounds for this issue.

Weakness: CWE-345 (Insufficient Verification of Data Authenticity)

## Which versions are affected by CVE-2023-43800?

2 open source packages ship an affected version, including github.com/arduino/arduino-create-agent. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `github.com/arduino/arduino-create-agent` | Go | All versions | 1.3.3 |
| `github.com/arduino/arduino-create-agent` | Go | All versions | 1.3.3 |

Products: Arduino Create Agent.

## How do I fix CVE-2023-43800?

Upgrade github.com/arduino/arduino-create-agent to 1.3.3 or later.

## Is CVE-2023-43800 being exploited?

There is no known exploitation of CVE-2023-43800 in the wild and no public exploit code.

## Other vulnerabilities in arduino-create-agent

- [CVE-2023-43802](https://insights.sbomify.com/CVE-2023-43802/): Path traversal in Arduino Create Agent (high 7.1)
- [CVE-2023-49296](https://insights.sbomify.com/CVE-2023-49296/): Arduino Create Agent vulnerable to Reflected Cross-Site Scripting (medium 6.3)
- [CVE-2023-43801](https://insights.sbomify.com/CVE-2023-43801/): Path traversal in Arduino Create Agent (medium 6.1)
- [CVE-2023-43803](https://insights.sbomify.com/CVE-2023-43803/): Path traversal in Arduino Create Agent (medium 6.1)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2023-43800 and fix it if it is affected.

What it is: CVE-2023-43800 is a high-severity vulnerability in arduino-create-agent, published on 18 Oct 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2023-43800 in the wild and no public exploit code.

Affected packages and fixed versions:
- github.com/arduino/arduino-create-agent (Go): affected all versions; fixed in 1.3.3
- github.com/arduino/arduino-create-agent (Go): affected all versions; fixed in 1.3.3

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2023-43800/ (Markdown: https://insights.sbomify.com/CVE-2023-43800/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2023-43800
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2023-43800
- OSV: https://osv.dev/vulnerability/CVE-2023-43800

---
From sbomify Insights: https://insights.sbomify.com/CVE-2023-43800/
Summaries are generated and may contain mistakes; the official description above is the record.
