Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:Update
slirp4netns
slirp4netns-CVE-2020-29129,29130.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File slirp4netns-CVE-2020-29129,29130.patch of Package slirp4netns
Index: slirp4netns-0.4.7/vendor/libslirp/src/ncsi.c =================================================================== --- slirp4netns-0.4.7.orig/vendor/libslirp/src/ncsi.c 2020-07-09 05:17:54.000000000 +0200 +++ slirp4netns-0.4.7/vendor/libslirp/src/ncsi.c 2022-03-08 16:20:23.606923855 +0100 @@ -148,6 +148,10 @@ void ncsi_input(Slirp *slirp, const uint uint32_t checksum; uint32_t *pchecksum; + if (pkt_len < ETH_HLEN + sizeof(struct ncsi_pkt_hdr)) { + return; /* packet too short */ + } + memset(ncsi_reply, 0, sizeof(ncsi_reply)); memset(reh->h_dest, 0xff, ETH_ALEN); Index: slirp4netns-0.4.7/vendor/libslirp/src/slirp.c =================================================================== --- slirp4netns-0.4.7.orig/vendor/libslirp/src/slirp.c 2020-07-09 05:17:54.000000000 +0200 +++ slirp4netns-0.4.7/vendor/libslirp/src/slirp.c 2022-03-08 16:20:23.606923855 +0100 @@ -763,6 +763,10 @@ static void arp_input(Slirp *slirp, cons return; } + if (pkt_len < ETH_HLEN + sizeof(struct slirp_arphdr)) { + return; /* packet too short */ + } + ar_op = ntohs(ah->ar_op); switch (ar_op) { case ARPOP_REQUEST:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor