# CVE-2019-25031: libunbound2: Unbound before 1.9.5 allows configuration injection in create_unbound_ad_servers.sh upon a successful man-in-the-midd...

CVE-2019-25031 is fixed in 7 products on 1 platform, first by libunbound2 1.6.7-1ubuntu2.4, released April 26, 2021. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2019-25031
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0168
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 26, 2021

## Description

Unbound before 1.9.5 allows configuration injection in create_unbound_ad_servers.sh upon a successful man-in-the-middle attack against a cleartext HTTP session. NOTE: The vendor does not consider this a vulnerability of the Unbound software. create_unbound_ad_servers.sh is a contributed script from the community that facilitates automatic configuration creation. It is not part of the Unbound installation

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libunbound2 Ubuntu 18.04.6 LTS (bionic) | 1.6.7-1ubuntu2.4 | [libunbound2 1.6.7-1ubuntu2.4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libunbound2-1.6.7-1ubuntu2.4.md) | Apr 26, 2021 |
| Linux | libunbound8 Ubuntu 20.04 LTS (focal) | 1.9.4-2ubuntu1.2 | [libunbound8 1.9.4-2ubuntu1.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libunbound8-1.9.4-2ubuntu1.2.md) | Apr 26, 2021 |
| Linux | python-unbound Ubuntu 18.04.6 LTS (bionic) | 1.6.7-1ubuntu2.4 | [python-unbound 1.6.7-1ubuntu2.4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-unbound-1.6.7-1ubuntu2.4.md) | Apr 26, 2021 |
| Linux | python-unbound Ubuntu 20.04 LTS (focal) | 1.9.4-2ubuntu1.2 | [python-unbound 1.9.4-2ubuntu1.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python-unbound-1.9.4-2ubuntu1.2.md) | Apr 26, 2021 |
| Linux | python3-unbound Ubuntu 18.04.6 LTS (bionic) | 1.6.7-1ubuntu2.4 | [python3-unbound 1.6.7-1ubuntu2.4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python3-unbound-1.6.7-1ubuntu2.4.md) | Apr 26, 2021 |
| Linux | python3-unbound Ubuntu 20.04 LTS (focal) | 1.9.4-2ubuntu1.2 | [python3-unbound 1.9.4-2ubuntu1.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-unbound-1.9.4-2ubuntu1.2.md) | Apr 26, 2021 |
| Linux | unbound Ubuntu 18.04.6 LTS (bionic) | 1.6.7-1ubuntu2.4 | [unbound 1.6.7-1ubuntu2.4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-unbound-1.6.7-1ubuntu2.4.md) | Apr 26, 2021 |
| Linux | unbound Ubuntu 20.04 LTS (focal) | 1.9.4-2ubuntu1.2 | [unbound 1.9.4-2ubuntu1.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-unbound-1.9.4-2ubuntu1.2.md) | Apr 26, 2021 |
| Linux | unbound-anchor Ubuntu 18.04.6 LTS (bionic) | 1.6.7-1ubuntu2.4 | [unbound-anchor 1.6.7-1ubuntu2.4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-unbound-anchor-1.6.7-1ubuntu2.4.md) | Apr 26, 2021 |
| Linux | unbound-anchor Ubuntu 20.04 LTS (focal) | 1.9.4-2ubuntu1.2 | [unbound-anchor 1.9.4-2ubuntu1.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-unbound-anchor-1.9.4-2ubuntu1.2.md) | Apr 26, 2021 |
| Linux | unbound-host Ubuntu 18.04.6 LTS (bionic) | 1.6.7-1ubuntu2.4 | [unbound-host 1.6.7-1ubuntu2.4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-unbound-host-1.6.7-1ubuntu2.4.md) | Apr 26, 2021 |
| Linux | unbound-host Ubuntu 20.04 LTS (focal) | 1.9.4-2ubuntu1.2 | [unbound-host 1.9.4-2ubuntu1.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-unbound-host-1.9.4-2ubuntu1.2.md) | Apr 26, 2021 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
