CyberSecBulletin
CVE-2019-2215Exploited in the wildNVD status: Analyzed

Android Kernel Use-After-Free

CVE-2019-2215 is a high-severity use after free vulnerability in Android, with a CVSS 3.1 base score of 7.8 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. Affected Android versions: Kernel. The record does not name a fixed version, so check the vendor advisory. CISA added it to the Known Exploited Vulnerabilities catalogue on November 3, 2021, which means attacks have been observed in the wild.

Patch now

Attackers are already exploiting this vulnerability, according to CISA.

What to do

  1. Update Alp-al00b Firmware to 10.0.0.162\(c00e156r2p4\) or a later version.
  2. Update Alp-tl00b Firmware to 10.0.0.162\(c01e156r1p4\) or a later version.
  3. Update Anne-al00 Firmware to 9.1.0.126\(c00e126r1p7t8\) or a later version.
  4. CISA's required action: Apply updates per vendor instructions.
  5. Read the advisory on packetstormsecurity.com for workarounds and exact fixed builds.

Affected products and versions

VendorProductAffected versionsFixed in
AndroidAndroidKernelNot stated
DebianDebian Linux8.0Not stated
CanonicalUbuntu Linux16.04Not stated
NetAppCloud BackupNot specified in the recordNot stated
NetAppData Availability ServicesNot specified in the recordNot stated
NetAppHci Management NodeNot specified in the recordNot stated
NetAppService ProcessorNot specified in the recordNot stated
NetAppSolidfireNot specified in the recordNot stated
NetAppSteelstore Cloud Integrated StorageNot specified in the recordNot stated
NetAppSolidfire Baseboard Management Controller FirmwareNot specified in the recordNot stated
NetAppAff Baseboard Management Controller FirmwareNot specified in the recordNot stated
NetAppA320 FirmwareNot specified in the recordNot stated
NetAppC190 FirmwareNot specified in the recordNot stated
NetAppA220 FirmwareNot specified in the recordNot stated
NetAppFas2720 FirmwareNot specified in the recordNot stated
NetAppFas2750 FirmwareNot specified in the recordNot stated
NetAppA800 FirmwareNot specified in the recordNot stated
NetAppH300s FirmwareNot specified in the recordNot stated
NetAppH500s FirmwareNot specified in the recordNot stated
NetAppH700s FirmwareNot specified in the recordNot stated
NetAppH410s FirmwareNot specified in the recordNot stated
NetAppH410c FirmwareNot specified in the recordNot stated
NetAppH610s FirmwareNot specified in the recordNot stated
HuaweiAlp-al00b Firmwarebefore 10.0.0.162\(c00e156r2p4\)10.0.0.162\(c00e156r2p4\)
HuaweiAlp-tl00b Firmwarebefore 10.0.0.162\(c01e156r1p4\)10.0.0.162\(c01e156r1p4\)

Version data comes from the organisation that assigned the CVE; 35 further products are omitted here. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
LocalThe attacker needs local access or must trick a user into running something.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
LowA basic user account is enough.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.17.8HighNVD
CVSS 3.17.8HighCISA (ADP)
CVSS 2.04.6MediumNVD

Official description

A use-after-free in binder.c allows an elevation of privilege from an application to the Linux Kernel. No user interaction is required to exploit this vulnerability, however exploitation does require either the installation of a malicious local application or a separate vulnerability in a network facing application.Product: AndroidAndroid ID: A-141720095

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Use After Free

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory belongs to the code that operates on the new pointer.

How developers prevent this class of flaw

  • Choose a language that provides automatic memory management.
  • When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.

More Use After Free vulnerabilities (CWE-416)

Timeline

  1. CVE record published.
  2. Added to CISA's Known Exploited Vulnerabilities catalogue.
  3. Deadline for US federal agencies to remediate, set by CISA.
  4. CISA published its SSVC assessment (exploitation: active, automatable: no, technical impact: total).
  5. Record last changed materially (score, affected products, status or references).

References

Patches and release notes

Third-party and government advisories

Technical write-ups (may include proof of concept)

Other vulnerabilities in Android

All Android vulnerabilities

Recent Use After Free vulnerabilities

Spotted an error? Tell us.