CVE-2012-2944
What it is
Buffer overflow in the addchar function in common/parseconf.c in upsd in Network UPS Tools (NUT) before 2.6.4 allows remote attackers to execute arbitrary code or cause a denial of service (electric-power outage) via a long string containing non-printable characters.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 6.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 6.2% in the next 30 days (EPSS).
- Severity: 7.5 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 6.2% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- Networkupstools Nut ≤ 2.6.3-3
- Networkupstools Nut 2.4.2
- Networkupstools Nut 2.4.3
- Networkupstools Nut 2.6.0
- Networkupstools Nut 2.6.0-1
- Networkupstools Nut 2.6.1
- Networkupstools Nut 2.6.1-1
- Networkupstools Nut 2.6.3-1
Attack profile CVSS 2.0 · 7.5
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-2944.md and follow it. Check whether this project is affected by CVE-2012-2944. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
References
- http://alioth.debian.org/tracker/?func=detail&aid=313636
- http://networkupstools.org/docs/user-manual.chunked/apis01.html
- http://secunia.com/advisories/49348
- http://secunia.com/advisories/50389
- http://trac.networkupstools.org/projects/nut/changeset/3633
- http://www.debian.org/security/2012/dsa-2484
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:087
- http://www.osvdb.org/82409
- http://www.securityfocus.com/bid/53743
- https://exchange.xforce.ibmcloud.com/vulnerabilities/75980
- https://hermes.opensuse.org/messages/15514634
- http://alioth.debian.org/tracker/?func=detail&aid=313636
- http://networkupstools.org/docs/user-manual.chunked/apis01.html
- http://secunia.com/advisories/49348
- http://secunia.com/advisories/50389
- http://trac.networkupstools.org/projects/nut/changeset/3633
- http://www.debian.org/security/2012/dsa-2484
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:087
- http://www.osvdb.org/82409
- http://www.securityfocus.com/bid/53743
- https://exchange.xforce.ibmcloud.com/vulnerabilities/75980
- https://hermes.opensuse.org/messages/15514634