# ALBA-2021:1984: java-11-openjdk bug fix and enhancement update

> An update to the OpenJDK 11 Java Runtime Environment addresses multiple bugs and security enhancements from the April 2021 Oracle CPU.

- **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:** 18 May 2021

## What is ALBA-2021:1984?

ALBA-2021:1984 is a vulnerability in java-11-openjdk-demo-fastdebug, published on 18 May 2021. 

### Official description

The java-11-openjdk packages provide the OpenJDK 11 Java Runtime
Environment and the OpenJDK 11 Java Software Development Kit.

Bug Fix(es) and Enhancement(s):

* Prepare for the next quarterly OpenJDK upstream release (2021-04,
11.0.11) [almalinux-8] (BZ#1942311)

* java-11-openjdk: JDK: Oracle CPU 2021-04 (BZ#1943233)

## Which versions are affected by ALBA-2021:1984?


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `java-11-openjdk-demo-fastdebug` | AlmaLinux:8 | All versions | 1:11.0.11.0.9-2.el8_4 |
| `java-11-openjdk-demo-slowdebug` | AlmaLinux:8 | All versions | 1:11.0.11.0.9-2.el8_4 |
| `java-11-openjdk-devel-fastdebug` | AlmaLinux:8 | All versions | 1:11.0.11.0.9-2.el8_4 |
| `java-11-openjdk-devel-slowdebug` | AlmaLinux:8 | All versions | 1:11.0.11.0.9-2.el8_4 |
| `java-11-openjdk-fastdebug` | AlmaLinux:8 | All versions | 1:11.0.11.0.9-2.el8_4 |
| `java-11-openjdk-headless-fastdebug` | AlmaLinux:8 | All versions | 1:11.0.11.0.9-2.el8_4 |
| `java-11-openjdk-headless-slowdebug` | AlmaLinux:8 | All versions | 1:11.0.11.0.9-2.el8_4 |
| `java-11-openjdk-jmods-fastdebug` | AlmaLinux:8 | All versions | 1:11.0.11.0.9-2.el8_4 |
| `java-11-openjdk-jmods-slowdebug` | AlmaLinux:8 | All versions | 1:11.0.11.0.9-2.el8_4 |
| `java-11-openjdk-slowdebug` | AlmaLinux:8 | All versions | 1:11.0.11.0.9-2.el8_4 |
| `java-11-openjdk-src-fastdebug` | AlmaLinux:8 | All versions | 1:11.0.11.0.9-2.el8_4 |
| `java-11-openjdk-src-slowdebug` | AlmaLinux:8 | All versions | 1:11.0.11.0.9-2.el8_4 |
| `java-11-openjdk-static-libs-fastdebug` | AlmaLinux:8 | All versions | 1:11.0.11.0.9-2.el8_4 |
| `java-11-openjdk-static-libs-slowdebug` | AlmaLinux:8 | All versions | 1:11.0.11.0.9-2.el8_4 |

## How do I fix ALBA-2021:1984?

Upgrade to a fixed version.

## Is ALBA-2021:1984 being exploited?

There is no known exploitation of ALBA-2021:1984 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for ALBA-2021:1984 and fix it if it is affected.

What it is: ALBA-2021:1984 is a vulnerability in java-11-openjdk-demo-fastdebug, published on 18 May 2021. 
Exploitation: There is no known exploitation of ALBA-2021:1984 in the wild and no public exploit code.

Affected product: java-11-openjdk-demo-fastdebug. 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/ALBA-2021-1984/ (Markdown: https://insights.sbomify.com/ALBA-2021-1984/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/ALBA-2021:1984

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