Opis (engleski)
lwext4 through 1.0.0 contains a heap buffer overflow in ext4_fs_init_inode_bitmap() in src/ext4_fs.c because it does not validate s_inodes_per_group against the inode bitmap size. Attackers can supply a crafted ext4 image with an oversized s_inodes_per_group so memset writes past the heap buffer, corrupting memory and crashing the mounting application.
Zahvaćeni proizvodi i verzije
gkostka lwext4≤ 1.0.0
CVSS vektor, objašnjeno
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
- Put napada
- Lokalno, na sustavu
- Složenost napada
- Niska
- Potrebne ovlasti
- Bez prijave
- Interakcija korisnika
- Potrebna
- Opseg
- Samo ranjiva komponenta
- Povjerljivost
- Bez utjecaja
- Integritet
- Nizak utjecaj
- Dostupnost
- Visok utjecaj
Vrsta slabosti (CWE)
- CWE-787 Out-of-bounds Write
Reference
- github.com/gkostka/lwext4/issues/93
- github.com/gkostka/lwext4/pull/111 patch
- github.com/gkostka/lwext4/commit/b9c842f168e6044bd03fe34e1237eda33c299908 patch
- github.com/Aladdin-R-D/lwext4/commit/2f5714d42f729fbdf3e65fd24d57149619fa1f33 patch
- github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_fs.c#L401-L405
- github.com/gkostka/lwext4
- www.vulncheck.com/advisories/lwext4-through-1.0.0-heap-buffer-overflow-via-ext4-fs-init-in
Izvori: CVE.org (CNA i CISA ADP), CISA KEV, FIRST EPSS. Uvijek provjerite službenu objavu proizvođača.