CVE-2021-21979 in Bitnami Containers
In Bitnami Containers, all Laravel container versions prior to: 6.20.0-debian-10-r107 for Laravel 6, 7.30.1-debian-10-r108 for Laravel 7 and 8.5.11-debian-10-r0 for Laravel 8, the file /tmp/app/.env is generated at the time that the docker image bitnami/laravel was built, and the value of APP_KEY is fixed under cert...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Bitnami | Containers | 6.19.0-debian-10-r0 7.29.0-debian-10-r0 7.30.0-debian-10-r0 8.3.0-debian-10-r0 8.5.2-debian-10-r0 8.5.2-debian-10-r1+35 more8.5.3-debian-10-r0 8.5.4-debian-10-r0 8.5.4-debian-10-r1 ≥ 6.0.2-debian-9-r0, ≤ 6.0.2-debian-9-r22 ≥ 6.4.0-debian-9-r0, ≤ 6.4.0-debian-9-r31 ≥ 6.5.2-debian-9-r0, ≤ 6.5.2-debian-9-r20 ≥ 6.8.0-debian-9-r0, ≤ 6.8.0-debian-9-r26 ≥ 6.12.0-debian-9-r0, ≤ 6.12.0-debian-10-r33 ≥ 6.18.0-debian-10-r0, ≤ 6.18.0-debian-10-r21 ≥ 6.18.3-debian-10-r0, ≤ 6.18.3-debian-10-r22 ≥ 6.18.8-debian-10-r0, ≤ 6.18.8-debian-10-r110 ≥ 6.18.35-debian-10-r0, ≤ 6.18.35-debian-10-r66 ≥ 6.20.0-debian-10-r0, < 6.20.0-debian-10-r107 ≥ 7.0.0-debian-10-r0, ≤ 7.0.0-debian-10-r7 ≥ 7.3.0-debian-10-r0, ≤ 7.3.0-debian-10-r20 ≥ 7.6.0-debian-10-r0, ≤ 7.6.0-debian-10-r38 ≥ 7.12.0-debian-10-r0, ≤ 7.12.0-debian-10-r72 ≥ 7.25.0-debian-10-r0, ≤ 7.25.0-debian-10-r16 ≥ 7.28.0-debian-10-r0, ≤ 7.28.0-debian-10-r50 ≥ 7.30.1-debian-10-r0, < 7.30.1-debian-10-r108 ≥ 8.0.1-debian-10-r0, ≤ 8.0.1-debian-10-r7 ≥ 8.0.3-debian-10-r0, ≤ 8.0.3-debian-10-r18 ≥ 8.1.0-debian-10-r0, ≤ 8.1.0-debian-10-r7 ≥ 8.2.0-debian-10-r0, ≤ 8.2.0-debian-10-r8 ≥ 8.4.0-debian-10-r0, ≤ 8.4.0-debian-10-r10 ≥ 8.4.1-debian-10-r0, ≤ 8.4.1-debian-10-r6 ≥ 8.4.2-debian-10-r0, ≤ 8.4.2-debian-10-r4 ≥ 8.4.3-debian-10-r0, ≤ 8.4.3-debian-10-r6 ≥ 8.4.4-debian-10-r0, ≤ 8.4.4-debian-10-r6 ≥ 8.5.5-debian-10-r0, ≤ 8.5.5-debian-10-r11 ≥ 8.5.6-debian-10-r0, ≤ 8.5.6-debian-10-r13 ≥ 8.5.7-debian-10-r0, ≤ 8.5.7-debian-10-r6 ≥ 8.5.8-debian-10-r0, ≤ 8.5.8-debian-10-r5 ≥ 8.5.9-debian-10-r0, ≤ 8.5.9-debian-10-r25 ≥ 8.5.10-debian-10-r0, ≤ 8.5.10-debian-10-r6 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
In Bitnami Containers, all Laravel container versions prior to: 6.20.0-debian-10-r107 for Laravel 6, 7.30.1-debian-10-r108 for Laravel 7 and 8.5.11-debian-10-r0 for Laravel 8, the file /tmp/app/.env is generated at the time that the docker image bitnami/laravel was built, and the value of APP_KEY is fixed under certain conditions. This value is crucial for the security of the application and must be randomly generated per Laravel installation. If your application's encryption key is in the hands of a malicious party, that party could craft cookie values using the encryption key and exploit vulnerabilities inherent to PHP object serialization / unserialization, such as calling arbitrary class methods within your application.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-21979 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-241559-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| Published | 2021-03-03 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-798: Use of Hard-Coded Credentials
Software contains embedded passwords or keys that cannot be changed by the administrator.
Related attack patterns (CAPEC)
CAPEC-70 Try Common or Default Usernames and Passwords via CWE-798
CAPEC-191 Read Sensitive Constants Within an Executable via CWE-798
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2021-21979 affects Bitnami Laravel containers where the APP_KEY in the .env file is fixed, potentially leading to security vulnerabilities.
An attacker could exploit the fixed APP_KEY to perform unauthorized actions, such as forging session cookies or decrypting sensitive data, if they can access the application.
Questions
What is CVE-2021-21979?
CVE-2021-21979 affects Bitnami Laravel containers where the APP_KEY in the .env file is fixed, potentially leading to security vulnerabilities.
What is the CVSS score for CVE-2021-21979?
CVE-2021-21979 has CVSS 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L. EPSS: 0.7%.
Is CVE-2021-21979 actively exploited?
No confirmed active exploitation of CVE-2021-21979 as of 2026-05-30.
How do I remediate CVE-2021-21979?
Priority: HIGH.
What systems are affected by CVE-2021-21979?
CVE-2021-21979 affects Bitnami Containers.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Bitnami","product":"Containers","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.