NLnet Labs Unbound 1.12.0 up to and including 1.26.0 has a use-after-free vulnerability when compiled for DNS-over-HTTPs support with '--with-libnghttp2'. During failure code paths (i.e., RPZ drop query, jostle due to heavy traffic), a dropped DoH stream brings down the whole DoH session and does not account properly for other DoH streams in the same session. This leads to use-after-free in those code paths. If the prerequisites are satisfied (possible RPZ drop or heavy client traffic), a malicious actor can trigger the vulnerability with a single DoH connection and the appropriate traffic. Impact is limited as the reads are not user controlled and the use-after-free leads to early returns. However, a hardened allocator can catch the use-after-free and controllably terminate the process resulting to denial of service.
{
"binaries": [
{
"binary_name": "libunbound8",
"binary_version": "1.13.1-1ubuntu5.15"
},
{
"binary_name": "python3-unbound",
"binary_version": "1.13.1-1ubuntu5.15"
},
{
"binary_name": "unbound",
"binary_version": "1.13.1-1ubuntu5.15"
},
{
"binary_name": "unbound-anchor",
"binary_version": "1.13.1-1ubuntu5.15"
},
{
"binary_name": "unbound-host",
"binary_version": "1.13.1-1ubuntu5.15"
}
]
}{
"binaries": [
{
"binary_name": "libunbound8",
"binary_version": "1.19.2-1ubuntu3.9"
},
{
"binary_name": "python3-unbound",
"binary_version": "1.19.2-1ubuntu3.9"
},
{
"binary_name": "unbound",
"binary_version": "1.19.2-1ubuntu3.9"
},
{
"binary_name": "unbound-anchor",
"binary_version": "1.19.2-1ubuntu3.9"
},
{
"binary_name": "unbound-host",
"binary_version": "1.19.2-1ubuntu3.9"
}
]
}{
"binaries": [
{
"binary_name": "libunbound8",
"binary_version": "1.24.2-1ubuntu2.2"
},
{
"binary_name": "python3-unbound",
"binary_version": "1.24.2-1ubuntu2.2"
},
{
"binary_name": "unbound",
"binary_version": "1.24.2-1ubuntu2.2"
},
{
"binary_name": "unbound-anchor",
"binary_version": "1.24.2-1ubuntu2.2"
},
{
"binary_name": "unbound-host",
"binary_version": "1.24.2-1ubuntu2.2"
}
]
}{
"binaries": [
{
"binary_name": "libunbound2",
"binary_version": "1.4.22-1ubuntu4.14.04.3+esm3"
},
{
"binary_name": "python-unbound",
"binary_version": "1.4.22-1ubuntu4.14.04.3+esm3"
},
{
"binary_name": "unbound",
"binary_version": "1.4.22-1ubuntu4.14.04.3+esm3"
},
{
"binary_name": "unbound-anchor",
"binary_version": "1.4.22-1ubuntu4.14.04.3+esm3"
},
{
"binary_name": "unbound-host",
"binary_version": "1.4.22-1ubuntu4.14.04.3+esm3"
}
]
}{
"binaries": [
{
"binary_name": "libunbound2",
"binary_version": "1.5.8-1ubuntu1.1+esm3"
},
{
"binary_name": "python-unbound",
"binary_version": "1.5.8-1ubuntu1.1+esm3"
},
{
"binary_name": "unbound",
"binary_version": "1.5.8-1ubuntu1.1+esm3"
},
{
"binary_name": "unbound-anchor",
"binary_version": "1.5.8-1ubuntu1.1+esm3"
},
{
"binary_name": "unbound-host",
"binary_version": "1.5.8-1ubuntu1.1+esm3"
}
]
}{
"binaries": [
{
"binary_name": "libunbound2",
"binary_version": "1.6.7-1ubuntu2.6+esm4"
},
{
"binary_name": "python-unbound",
"binary_version": "1.6.7-1ubuntu2.6+esm4"
},
{
"binary_name": "python3-unbound",
"binary_version": "1.6.7-1ubuntu2.6+esm4"
},
{
"binary_name": "unbound",
"binary_version": "1.6.7-1ubuntu2.6+esm4"
},
{
"binary_name": "unbound-anchor",
"binary_version": "1.6.7-1ubuntu2.6+esm4"
},
{
"binary_name": "unbound-host",
"binary_version": "1.6.7-1ubuntu2.6+esm4"
}
]
}{
"binaries": [
{
"binary_name": "libunbound8",
"binary_version": "1.9.4-2ubuntu1.11+esm1"
},
{
"binary_name": "python-unbound",
"binary_version": "1.9.4-2ubuntu1.11+esm1"
},
{
"binary_name": "python3-unbound",
"binary_version": "1.9.4-2ubuntu1.11+esm1"
},
{
"binary_name": "unbound",
"binary_version": "1.9.4-2ubuntu1.11+esm1"
},
{
"binary_name": "unbound-anchor",
"binary_version": "1.9.4-2ubuntu1.11+esm1"
},
{
"binary_name": "unbound-host",
"binary_version": "1.9.4-2ubuntu1.11+esm1"
}
]
}