# ALEA-2022:0354: vulkan bug fix and enhancement update

> This update rebases Vulkan components to fix bugs and enhance functionality, with no specific security vulnerability details provided.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Not stated
- **Attackable:** Not stated
- **Victim action needed:** Not stated
- **Fix available:** Yes
- **Published:** 1 Feb 2022

## What is ALEA-2022:0354?

ALEA-2022:0354 is a vulnerability in spirv-tools, published on 1 Feb 2022. 

### Official description

The vulkan packages contain the reference ICD loader and validation layers for
Vulkan, a graphics and compute API for cross-platform access to modern GPUs.

Bug Fix(es) and Enhancement(s):

* Rebase vulkan-loader in 8.6 (BZ#2016391)

* Rebase vulkan-headers in 8.6 (BZ#2016392)

* Rebase spirv-headers in 8.6 (BZ#2016393)

* Rebase spirv-tools in 8.6 (BZ#2016394)

* Rebase vulkan-tools in 8.6 (BZ#2016395)

* Rebase vulkan-validation-layers in 8.6 (BZ#2016396)

* Rebase glslang in 8.6 (BZ#2027693)

## Which versions are affected by ALEA-2022:0354?


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `spirv-tools` | AlmaLinux:8 | All versions | 2021.4-3.20211110.git21e3f68.el8_5 |
| `spirv-tools-devel` | AlmaLinux:8 | All versions | 2021.4-3.20211110.git21e3f68.el8_5 |
| `spirv-tools-libs` | AlmaLinux:8 | All versions | 2021.4-3.20211110.git21e3f68.el8_5 |
| `vulkan-headers` | AlmaLinux:8 | All versions | 1.2.198.0-1.el8_5 |
| `vulkan-loader` | AlmaLinux:8 | All versions | 1.2.198.0-2.el8_5 |
| `vulkan-loader-devel` | AlmaLinux:8 | All versions | 1.2.198.0-2.el8_5 |
| `vulkan-tools` | AlmaLinux:8 | All versions | 1.2.198.0-1.el8_5 |
| `vulkan-validation-layers` | AlmaLinux:8 | All versions | 1.2.198.0-4.el8_5 |

## How do I fix ALEA-2022:0354?

Upgrade to a fixed version.

## Is ALEA-2022:0354 being exploited?

There is no known exploitation of ALEA-2022:0354 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for ALEA-2022:0354 and fix it if it is affected.

What it is: ALEA-2022:0354 is a vulnerability in spirv-tools, published on 1 Feb 2022. 
Exploitation: There is no known exploitation of ALEA-2022:0354 in the wild and no public exploit code.

Affected product: spirv-tools. 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/ALEA-2022-0354/ (Markdown: https://insights.sbomify.com/ALEA-2022-0354/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/ALEA-2022:0354

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