Missing Release of Resource after Effective Lifetime Affecting net-snmp-agent-libs package, versions <1:5.7.2-20.el7_1.1


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
8.19% (95th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS7-NETSNMPAGENTLIBS-2052194
  • published26 Jul 2021
  • disclosed13 Apr 2015

Introduced: 13 Apr 2015

CVE-2015-5621  (opens in a new tab)
CWE-772  (opens in a new tab)
CWE-672  (opens in a new tab)
CWE-665  (opens in a new tab)

How to fix?

Upgrade Centos:7 net-snmp-agent-libs to version 1:5.7.2-20.el7_1.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream net-snmp-agent-libs package and not the net-snmp-agent-libs package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

The snmp_pdu_parse function in snmp_api.c in net-snmp 5.7.2 and earlier does not remove the varBind variable in a netsnmp_variable_list item when parsing of the SNMP PDU fails, which allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted packet.

CVSS Scores

version 3.1