Description (CNA)
An integer overflow in the mtar_next function in src/microtar.c in rxi microtar 0.1.0 allows a remote attacker to cause a denial of service (uncontrolled CPU consumption / infinite loop) via a crafted tar archive. mtar_next computes the offset to the next record as round_up(h.size, 512) + sizeof(mtar_raw_header_t) using 32-bit arithmetic.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| rxi / microtar | affected 0.1.0 |
CWE
CWE-190, CWE-835
References
- https://github.com/rxi/microtar/blob/master/src/microtar.c#L239
- https://github.com/rxi/microtar
- https://raw.githubusercontent.com/rxi/microtar/master/src/microtar.c
ADP enrichment
No English description supplied.
No references supplied.