summaryrefslogtreecommitdiffstats
path: root/patches/source/net-snmp/net-snmp-5.8-multilib.patch
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2022-07-21 18:13:18 +0000
committer Eric Hameleers <alien@slackware.com>2022-07-22 13:30:29 +0200
commit7e930376320e016856285807d7788b01e51cc594 (patch)
tree42af5ffdc9af82005c3a34b0e42960ac8c6b50e5 /patches/source/net-snmp/net-snmp-5.8-multilib.patch
parent83e918a9794a98459b443e0095a9d13369d2fc7f (diff)
downloadcurrent-7e930376320e016856285807d7788b01e51cc594.tar.gz
current-7e930376320e016856285807d7788b01e51cc594.tar.xz
Thu Jul 21 18:13:18 UTC 202220220721181318_15.0
patches/packages/net-snmp-5.9.3-x86_64-1_slack15.0.txz: Upgraded. This update fixes security issues: A buffer overflow in the handling of the INDEX of NET-SNMP-VACM-MIB can cause an out-of-bounds memory access. A malformed OID in a GET-NEXT to the nsVacmAccessTable can cause a NULL pointer dereference. Improper Input Validation when SETing malformed OIDs in master agent and subagent simultaneously. A malformed OID in a SET request to SNMP-VIEW-BASED-ACM-MIB::vacmAccessTable can cause an out-of-bounds memory access. A malformed OID in a SET request to NET-SNMP-AGENT-MIB::nsLogTable can cause a NULL pointer dereference. A malformed OID in a SET to the nsVacmAccessTable can cause a NULL pointer dereference. For more information, see: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24805 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24809 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24806 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24807 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24808 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24810 (* Security fix *)
Diffstat (limited to 'patches/source/net-snmp/net-snmp-5.8-multilib.patch')
-rw-r--r--patches/source/net-snmp/net-snmp-5.8-multilib.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/patches/source/net-snmp/net-snmp-5.8-multilib.patch b/patches/source/net-snmp/net-snmp-5.8-multilib.patch
new file mode 100644
index 000000000..b8f3feacb
--- /dev/null
+++ b/patches/source/net-snmp/net-snmp-5.8-multilib.patch
@@ -0,0 +1,45 @@
+diff -urNp a/man/netsnmp_config_api.3.def b/man/netsnmp_config_api.3.def
+--- a/man/netsnmp_config_api.3.def 2018-07-18 11:18:06.196792766 +0200
++++ b/man/netsnmp_config_api.3.def 2018-07-18 11:20:04.631679886 +0200
+@@ -295,7 +295,7 @@ for one particular machine.
+ .PP
+ The default list of directories to search is \fC SYSCONFDIR/snmp\fP,
+ followed by \fC DATADIR/snmp\fP,
+-followed by \fC LIBDIR/snmp\fP,
++followed by \fC /usr/lib(64)/snmp\fP,
+ followed by \fC $HOME/.snmp\fP.
+ This list can be changed by setting the environmental variable
+ .I SNMPCONFPATH
+@@ -367,7 +367,7 @@ A colon separated list of directories to
+ files in.
+ Default:
+ .br
+-SYSCONFDIR/snmp:\:DATADIR/snmp:\:LIBDIR/snmp:\:$HOME/.snmp
++SYSCONFDIR/snmp:\:DATADIR/snmp:\:/usr/lib(64)/snmp:\:$HOME/.snmp
+ .SH "SEE ALSO"
+ netsnmp_mib_api(3), snmp_api(3)
+ .\" Local Variables:
+diff -urNp a/man/snmp_config.5.def b/man/snmp_config.5.def
+--- a/man/snmp_config.5.def 2018-07-18 11:18:06.194792767 +0200
++++ b/man/snmp_config.5.def 2018-07-18 11:20:56.423626117 +0200
+@@ -10,7 +10,7 @@ First off, there are numerous places tha
+ found and read from. By default, the applications look for
+ configuration files in the following 4 directories, in order:
+ SYSCONFDIR/snmp,
+-DATADIR/snmp, LIBDIR/snmp, and $HOME/.snmp. In each of these
++DATADIR/snmp, /usr/lib(64)/snmp, and $HOME/.snmp. In each of these
+ directories, it looks for files snmp.conf, snmpd.conf and/or
+ snmptrapd.conf, as well as snmp.local.conf, snmpd.local.conf
+ and/or snmptrapd.local.conf. *.local.conf are always
+diff -urNp a/man/snmpd.conf.5.def b/man/snmpd.conf.5.def
+--- a/man/snmpd.conf.5.def 2018-07-18 11:18:06.196792766 +0200
++++ b/man/snmpd.conf.5.def 2018-07-18 11:21:44.263574388 +0200
+@@ -1559,7 +1559,7 @@ filename), and call the initialisation r
+ .RS
+ .IP "Note:"
+ If the specified PATH is not a fully qualified filename, it will
+-be interpreted relative to LIBDIR/snmp/dlmod, and \fC.so\fR
++be interpreted relative to /usr/lib(64)/snmp/dlmod, and \fC.so\fR
+ will be appended to the filename.
+ .RE
+ .PP