Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-15862

Net-SNMP through 5.8 has Improper Privilege Management because SNMP WRITE access to the EXTEND MIB provides the ability to run arbitrary commands as root.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-15862
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:33 UTC · Revision 1

Source evidence

CVE-2020-15862

core-osv · Original source

Published 20 Aug 2020, 01:17 UTC

Net-SNMP through 5.8 has Improper Privilege Management because SNMP WRITE access to the EXTEND MIB provides the ability to run arbitrary commands as root.

osv:CVE-2020-15862
Complete source record
{
  "id": "93afe0a478d2ebdb01f4f1c5a9817fec1526dd50ed21501e8bf7359119959363",
  "url": "https://osv.dev/vulnerability/CVE-2020-15862",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-15862",
    "summary": "Net-SNMP through 5.8 has Improper Privilege Management because SNMP WRITE access to the EXTEND MIB provides the ability to run arbitrary commands as root.",
    "evidence": "osv:CVE-2020-15862",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-15862",
      "aliases": [
        "CVE-2020-15862"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/net-snmp/net-snmp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "ee7ef662f83ef70b38ea112ca33ec5a3f7a4aa43"
                },
                {
                  "fixed": "77f6c60f57dba0aaea5d8ef1dd94bcd0c8e6d205"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:net-snmp:net-snmp:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "5.8.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "77f6c60f57dba0aaea5d8ef1dd94bcd0c8e6d205"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v5.7",
            "v5.7.rc3",
            "v5.7.rc2",
            "v5.7.rc1",
            "v5.7.pre2",
            "v5.7.pre1",
            "v5.6",
            "v5.6.rc3",
            "v5.6.rc2",
            "v5.6.rc1",
            "v5.6.pre3",
            "v5.6.pre2",
            "v5.6.pre1",
            "v5.5",
            "v5.5.rc3",
            "v5.5.rc2",
            "v5.5.rc1",
            "v5.5.pre3",
            "v5.5.pre2",
            "v5.5.pre1",
            "v5.1.4.1",
            "v5.0.11.1",
            "v5.4",
            "v5.3",
            "v5.2",
            "v5.1",
            "v5.0.7",
            "v5.0.6",
            "v5.0.5",
            "v5.0.4",
            "v5.0.3",
            "v5.0.2",
            "v5.0.1",
            "v5.0",
            "v4.2",
            "v4.1.1",
            "v4.1",
            "v4.0.1",
            "v4.0",
            "v3.6.1",
            "v3.6",
            "v3.5",
            "v3.4",
            "v3.3",
            "v3.2",
            "v3.1.3",
            "v3.1.2.1",
            "v3.1.2",
            "v3.1.1",
            "v3.1.0.1",
            "v3.1",
            "v3.0.7.2",
            "v3.0.7.1",
            "v3.0.7",
            "v3.0.6",
            "v3.0.5",
            "v3.0.4",
            "v3.0.3",
            "v3.0.2.1",
            "v3.0.2",
            "v3.0.1",
            "v3.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15862.json",
            "vanir_signatures": [
              {
                "id": "CVE-2020-15862-04e19943",
                "digest": {
                  "length": 9271,
                  "function_hash": "168126842589556839519669983730365362130"
                },
                "source": "https://github.com/net-snmp/net-snmp/commit/77f6c60f57dba0aaea5d8ef1dd94bcd0c8e6d205",
                "target": {
                  "file": "agent/mibgroup/agent/extend.c",
                  "function": "handle_nsExtendConfigTable"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2020-15862-47f67391",
                "digest": {
                  "length": 821,
                  "function_hash": "324934863496545396025090335580678431555"
                },
                "source": "https://github.com/net-snmp/net-snmp/commit/77f6c60f57dba0aaea5d8ef1dd94bcd0c8e6d205",
                "target": {
                  "file": "agent/mibgroup/agent/extend.c",
                  "function": "fixExec2Error"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2020-15862-5385aeff",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "160382126734202674681144535403338919409",
                    "292824773818941776052985057530600565348",
                    "117093767884005896506214374923466371893",
                    "153887981556162111395467978566793611856",
                    "304548919929739460042427222392484181457",
                    "252983075219966496628509281461955283348",
                    "158242383511248042541185602283552251988",
                    "98122535300492461348015372959760569968",
                    "84141191864820422749253422037217897627",
                    "280175792542161621203133292429721249072",
                    "121001552494923370436879991271021038415",
                    "3598910393246450005704482474149929215",
                    "319352373915069118550616144745180834572",
                    "290887612190499742534011183377797667151",
                    "280553204632066801854360105056994083320",
                    "30350696284143358276391654732140777753",
                    "124520032205378816472060548262952644942",
                    "302478858594664857332311134752383174524",
                    "234635746856935271453069637068018831103",
                    "111656735251291391883623057449194990850",
                    "108127288387902992133428563749627954087",
                    "120781652379473419448725747206302201239",
                    "275293827951289342513748652240830857287",
                    "123147406844998894071053026392993388614",
                    "55432564476577231908975284108535574993",
                    "302478858594664857332311134752383174524",
                    "84824618504714555464659388230927545211"
                  ]
                },
                "source": "https://github.com/net-snmp/net-snmp/commit/77f6c60f57dba0aaea5d8ef1dd94bcd0c8e6d205",
                "target": {
                  "file": "agent/mibgroup/agent/extend.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:52:00Z"
          }
        }
      ],
      "modified": "2026-10-20T13:52:00.132054121Z",
      "provider": "osv",
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2020-15862",
        "https://security.gentoo.org/glsa/202008-12",
        "https://security.netapp.com/advisory/ntap-20200904-0001/",
        "https://usn.ubuntu.com/4471-1/",
        "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965166",
        "https://github.com/net-snmp/net-snmp/commit/77f6c60f57dba0aaea5d8ef1dd94bcd0c8e6d205",
        "https://salsa.debian.org/debian/net-snmp/-/commit/fad8725402752746daf0a751dcff19eb6aeab52e"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:esm:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "12.04"
                  },
                  {
                    "last_affected": "12.04"
                  },
                  {
                    "introduced": "14.04"
                  },
                  {
                    "last_affected": "14.04"
                  },
                  {
                    "introduced": "16.04"
                  },
                  {
                    "last_affected": "16.04"
                  },
                  {
                    "introduced": "18.04"
                  },
                  {
                    "last_affected": "18.04"
                  },
                  {
                    "introduced": "20.04"
                  },
                  {
                    "last_affected": "20.04"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-15862",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388297,
  "published_at": "2020-08-20T01:17:13.897+00:00"
}