GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

FKIE_CVE-2012-2944

Vulnerability from fkie_nvd - Published: 2012-06-01 20:55 - Updated: 2026-06-16 23:42
Severity
Summary
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.
References
cve@mitre.orghttp://alioth.debian.org/tracker/?func=detail&aid=313636Exploit
cve@mitre.orghttp://networkupstools.org/docs/user-manual.chunked/apis01.html
cve@mitre.orghttp://secunia.com/advisories/49348Vendor Advisory
cve@mitre.orghttp://secunia.com/advisories/50389
cve@mitre.orghttp://trac.networkupstools.org/projects/nut/changeset/3633
cve@mitre.orghttp://www.debian.org/security/2012/dsa-2484
cve@mitre.orghttp://www.mandriva.com/security/advisories?name=MDVSA-2012:087
cve@mitre.orghttp://www.osvdb.org/82409
cve@mitre.orghttp://www.securityfocus.com/bid/53743
cve@mitre.orghttps://exchange.xforce.ibmcloud.com/vulnerabilities/75980
cve@mitre.orghttps://hermes.opensuse.org/messages/15514634
af854a3a-2127-422b-91ae-364da2661108http://alioth.debian.org/tracker/?func=detail&aid=313636Exploit
af854a3a-2127-422b-91ae-364da2661108http://networkupstools.org/docs/user-manual.chunked/apis01.html
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/49348Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/50389
af854a3a-2127-422b-91ae-364da2661108http://trac.networkupstools.org/projects/nut/changeset/3633
af854a3a-2127-422b-91ae-364da2661108http://www.debian.org/security/2012/dsa-2484
af854a3a-2127-422b-91ae-364da2661108http://www.mandriva.com/security/advisories?name=MDVSA-2012:087
af854a3a-2127-422b-91ae-364da2661108http://www.osvdb.org/82409
af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/bid/53743
af854a3a-2127-422b-91ae-364da2661108https://exchange.xforce.ibmcloud.com/vulnerabilities/75980
af854a3a-2127-422b-91ae-364da2661108https://hermes.opensuse.org/messages/15514634
Impacted products

{
  "affected": [
    {
      "affectedData": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "source": "cve@mitre.org"
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:networkupstools:nut:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "DA1A420A-4B10-4A39-9393-DF4399AF8A3A",
              "versionEndIncluding": "2.6.3-3",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:networkupstools:nut:2.4.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "E21A4CC6-DF4E-4C18-8DCD-3E316B694FAF",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:networkupstools:nut:2.4.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "980911A5-084D-447B-9B2B-B7DA9C751074",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:networkupstools:nut:2.6.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "2FBEC024-EC1C-4989-BA28-9C1AFC2922E6",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:networkupstools:nut:2.6.0:pre1:*:*:*:*:*:*",
              "matchCriteriaId": "A16A7093-48E1-401D-AE0F-78E10759C688",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:networkupstools:nut:2.6.0-1:*:*:*:*:*:*:*",
              "matchCriteriaId": "87B240E6-56BE-481F-B0A3-4D57740D48AA",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:networkupstools:nut:2.6.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "A759BB33-3284-4C42-BEBB-B1C654864202",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:networkupstools:nut:2.6.1-1:*:*:*:*:*:*:*",
              "matchCriteriaId": "95DE25D2-E68C-49C6-92A1-90B2155F1233",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:networkupstools:nut:2.6.3-1:*:*:*:*:*:*:*",
              "matchCriteriaId": "77684429-DFDF-4423-A9B2-EF434AA6CFBB",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    },
    {
      "lang": "es",
      "value": "Desbordamiento de b\u00fafer en la funci\u00f3n addchar en common/parseconf.c en upsd en Network UPS Tools (NUT), antes de v2.6.4 permite a atacantes remotos ejecutar c\u00f3digo arbitrario o causar una denegaci\u00f3n de servicio (corte de energ\u00eda el\u00e9ctrica) a trav\u00e9s de una larga cadena que contiene imprimibles no caracteres."
    }
  ],
  "id": "CVE-2012-2944",
  "lastModified": "2026-06-16T23:42:24.207",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "HIGH",
        "cvssData": {
          "accessComplexity": "LOW",
          "accessVector": "NETWORK",
          "authentication": "NONE",
          "availabilityImpact": "PARTIAL",
          "baseScore": 7.5,
          "confidentialityImpact": "PARTIAL",
          "integrityImpact": "PARTIAL",
          "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
          "version": "2.0"
        },
        "exploitabilityScore": 10.0,
        "impactScore": 6.4,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": false
      }
    ]
  },
  "published": "2012-06-01T20:55:08.857",
  "references": [
    {
      "source": "cve@mitre.org",
      "tags": [
        "Exploit"
      ],
      "url": "http://alioth.debian.org/tracker/?func=detail\u0026aid=313636"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://networkupstools.org/docs/user-manual.chunked/apis01.html"
    },
    {
      "source": "cve@mitre.org",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/49348"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://secunia.com/advisories/50389"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://trac.networkupstools.org/projects/nut/changeset/3633"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.debian.org/security/2012/dsa-2484"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2012:087"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.osvdb.org/82409"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.securityfocus.com/bid/53743"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/75980"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://hermes.opensuse.org/messages/15514634"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Exploit"
      ],
      "url": "http://alioth.debian.org/tracker/?func=detail\u0026aid=313636"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://networkupstools.org/docs/user-manual.chunked/apis01.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/49348"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/50389"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://trac.networkupstools.org/projects/nut/changeset/3633"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.debian.org/security/2012/dsa-2484"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2012:087"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.osvdb.org/82409"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.securityfocus.com/bid/53743"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/75980"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://hermes.opensuse.org/messages/15514634"
    }
  ],
  "sourceIdentifier": "cve@mitre.org",
  "vulnStatus": "Modified",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-119"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…