A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
apcupsd through 3.14.14 discloses uninitialized stack memory in getupsvar() in src/cgi/upsfetch.c (used by upsstats.cgi, multimon.cgi, and upsfstats.cgi. On the single-field path, when the matched STATUS line has fewer than three whitespace-separated tokens, sscanf("%*s %*s %s", answer) performs no assignment but the function returns success, and thus the caller prints the uninitialized destination buffer into the HTTP response.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- bugzilla.redhat.com /show_bug.cgi
- github.com /therealbstern/apcupsd/blob/224d19d5faa508d04267f6135fe53d5…
- sourceforge.net /projects/apcupsd/
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning