# CVE-2005-3566: Memory corruption in n/a

> Local attackers can execute arbitrary code via buffer overflow in VERITAS Cluster Server commands using a long environment variable.

- **Severity:** Medium 4.3 (`AV:L/AC:L/Au:S/C:P/I:P/A:P`)
- **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:** No
- **Published:** 16 Nov 2005
- **Updated:** 7 Aug 2024
- **Also known as:** GHSA-7cj2-ppjq-7f33

## What is CVE-2005-3566?

CVE-2005-3566 is a medium-severity memory corruption vulnerability in n/a, published on 16 Nov 2005. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

Buffer overflow in various ha commands of VERITAS Cluster Server for UNIX before 4.0MP2 allows local users to execute arbitrary code via a long VCSI18N_LANG environment variable to (1) haagent, (2) haalert, (3) haattr, (4) hacli, (5) hacli_runcmd, (6) haclus, (7) haconf, (8) hadebug, (9) hagrp, (10) hahb, (11) halog, (12) hareg, (13) hares, (14) hastatus, (15) hasys, (16) hatype, (17) hauser, and (18) tststew.

## Which versions are affected by CVE-2005-3566?

It affects 4 products.


Products: Symantec Veritas Cluster Server, Symantec Veritas Sanpoint Control Quickstart, Symantec Veritas Storage Foundation, Symantec Veritas Storage Foundation Cluster File System.

## How do I fix CVE-2005-3566?

No fix has been published for CVE-2005-3566 yet. Limit exposure of the affected software until one is available.

## Is CVE-2005-3566 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2005-3566 exists.

Public exploit code:

- Veritas Storage Foundation 4.0 - VCSI18N_LANG Local Overflow (exploitdb)

## Other vulnerabilities in n/a

- [CVE-2002-1817](https://insights.sbomify.com/CVE-2002-1817/): Privilege escalation in n/a (high 7.5)
- [CVE-2004-2205](https://insights.sbomify.com/CVE-2004-2205/): Privilege escalation in n/a (high 7.2)
- [CVE-2001-0287](https://insights.sbomify.com/CVE-2001-0287/): Denial of service in n/a (low 2.1)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2005-3566 and fix it if it is affected.

What it is: CVE-2005-3566 is a medium-severity memory corruption vulnerability in n/a, published on 16 Nov 2005. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2005-3566 exists.

Affected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.

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-2005-3566/ (Markdown: https://insights.sbomify.com/CVE-2005-3566/index.md)
```

## Sources

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

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