# array-macro (crates.io) CVEs

4 known CVEs (2 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: 2.1.8 (Nov 8, 2023): no advisory affects it
- Newest unaffected release: 2.1.8 (Nov 8, 2023), the latest release
- Downloads on affected versions: Not known: the downloads can't be split between affected and unaffected versions
- Releases: 19 since 0.1.0 (Aug 1, 2017)
- Registry: https://crates.io/crates/array-macro
- Releases read: Nov 16, 2026

## Version timeline

Affected versions per advisory, in version order:

- GHSA-7V4J-8WVR-V55R: 2.1.0 to 2.1.1 (2.1.2 is outside it)
- GHSA-83GG-PWXF-JR89: 0.1.2 to 1.0.4 (1.0.5 is outside it)
- RUSTSEC-2022-0017: 2.1.0 to 2.1.1 (2.1.2 is outside it)
- RUSTSEC-2020-0161: 0.1.2 to 1.0.4 (1.0.5 is outside it)

## Advisories (4)

### [GHSA-7V4J-8WVR-V55R](https://cve.now/GHSA-7V4J-8WVR-V55R): \`array!\` macro is unsound when its length is impure constant

- Severity: Medium
- Published: Jun 16, 2022
- Affected: from 2.1.0, fixed in 2.1.2.
- Fixed in 2.1.2 (released Apr 27, 2022, 50 days before disclosure).
- The latest release, 2.1.8, is not affected.

### [GHSA-83GG-PWXF-JR89](https://cve.now/GHSA-83GG-PWXF-JR89): \`array!\` macro is unsound in presence of traits that implement methods it calls internally

- Severity: Medium
- Published: Jun 16, 2022
- Affected: from 0.1.2, fixed in 1.0.5.
- Fixed in 1.0.5 (released May 7, 2020, 770 days before disclosure).
- The latest release, 2.1.8, is not affected.

### [RUSTSEC-2022-0017](https://cve.now/RUSTSEC-2022-0017): \`array!\` macro is unsound when its length is impure constant

- Severity: Unrated
- Published: Apr 27, 2022
- Affected: from 2.1.0, fixed in 2.1.2.
- Fixed in 2.1.2 (released Apr 27, 2022, the day of disclosure).
- The latest release, 2.1.8, is not affected.

### [RUSTSEC-2020-0161](https://cve.now/RUSTSEC-2020-0161): \`array!\` macro is unsound in presence of traits that implement methods it calls internally

- Severity: Unrated
- Published: May 7, 2020
- Affected: from 0.1.2, fixed in 1.0.5.
- Fixed in 1.0.5 (released May 7, 2020, the day of disclosure).
- The latest release, 2.1.8, is not affected.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/crates.io/array-macro
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
