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

> An update for OpenJDK 11 addresses multiple security issues from the October 2021 Oracle CPU, requiring users to upgrade to the latest version.

- **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:** 9 Nov 2021

## What is ALBA-2021:3890?

ALBA-2021:3890 is a vulnerability in java-11-openjdk, published on 9 Nov 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):

* java-11-openjdk: JDK: Oracle CPU 2021-10 (BZ#2012334)

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


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `java-11-openjdk` | AlmaLinux:8 | All versions | 1:11.0.13.0.8-3.el8_5 |
| `java-11-openjdk-demo` | AlmaLinux:8 | All versions | 1:11.0.13.0.8-3.el8_5 |
| `java-11-openjdk-demo-fastdebug` | AlmaLinux:8 | All versions | 1:11.0.13.0.8-3.el8_5 |
| `java-11-openjdk-demo-slowdebug` | AlmaLinux:8 | All versions | 1:11.0.13.0.8-3.el8_5 |
| `java-11-openjdk-devel` | AlmaLinux:8 | All versions | 1:11.0.13.0.8-3.el8_5 |
| `java-11-openjdk-devel-fastdebug` | AlmaLinux:8 | All versions | 1:11.0.13.0.8-3.el8_5 |
| `java-11-openjdk-devel-slowdebug` | AlmaLinux:8 | All versions | 1:11.0.13.0.8-3.el8_5 |
| `java-11-openjdk-fastdebug` | AlmaLinux:8 | All versions | 1:11.0.13.0.8-3.el8_5 |
| `java-11-openjdk-headless` | AlmaLinux:8 | All versions | 1:11.0.13.0.8-3.el8_5 |
| `java-11-openjdk-headless-fastdebug` | AlmaLinux:8 | All versions | 1:11.0.13.0.8-3.el8_5 |
| `java-11-openjdk-headless-slowdebug` | AlmaLinux:8 | All versions | 1:11.0.13.0.8-3.el8_5 |
| `java-11-openjdk-javadoc` | AlmaLinux:8 | All versions | 1:11.0.13.0.8-3.el8_5 |
| `java-11-openjdk-javadoc-zip` | AlmaLinux:8 | All versions | 1:11.0.13.0.8-3.el8_5 |
| `java-11-openjdk-jmods` | AlmaLinux:8 | All versions | 1:11.0.13.0.8-3.el8_5 |
| `java-11-openjdk-jmods-fastdebug` | AlmaLinux:8 | All versions | 1:11.0.13.0.8-3.el8_5 |
| `java-11-openjdk-jmods-slowdebug` | AlmaLinux:8 | All versions | 1:11.0.13.0.8-3.el8_5 |
| `java-11-openjdk-slowdebug` | AlmaLinux:8 | All versions | 1:11.0.13.0.8-3.el8_5 |
| `java-11-openjdk-src` | AlmaLinux:8 | All versions | 1:11.0.13.0.8-3.el8_5 |
| `java-11-openjdk-src-fastdebug` | AlmaLinux:8 | All versions | 1:11.0.13.0.8-3.el8_5 |
| `java-11-openjdk-src-slowdebug` | AlmaLinux:8 | All versions | 1:11.0.13.0.8-3.el8_5 |
| `java-11-openjdk-static-libs` | AlmaLinux:8 | All versions | 1:11.0.13.0.8-3.el8_5 |
| `java-11-openjdk-static-libs-fastdebug` | AlmaLinux:8 | All versions | 1:11.0.13.0.8-3.el8_5 |
| `java-11-openjdk-static-libs-slowdebug` | AlmaLinux:8 | All versions | 1:11.0.13.0.8-3.el8_5 |

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

Upgrade to a fixed version.

## Is ALBA-2021:3890 being exploited?

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

## Fix prompt for AI coding agents

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

What it is: ALBA-2021:3890 is a vulnerability in java-11-openjdk, published on 9 Nov 2021. 
Exploitation: There is no known exploitation of ALBA-2021:3890 in the wild and no public exploit code.

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

## Sources

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

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