# CVE-2017-17250: Memory corruption in AR120-S; AR1200; AR1200-S; AR150; AR150-S; AR160; AR200; AR200-S; AR2200-S; AR3200; AR510; NetEngine16EX; SRG1300; SRG2300; SRG3300

> Remote unauthenticated attackers can crash Huawei AR routers by sending abnormal OSPF messages that trigger an out-of-bounds write.

- **Severity:** Medium 6.5 (`CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** No
- **Published:** 9 Mar 2018
- **Updated:** 5 Aug 2024
- **Also known as:** GHSA-2mqx-vr27-49pv

## What is CVE-2017-17250?

CVE-2017-17250 is a medium-severity memory corruption vulnerability in Huawei Ar3200 Firmware, published on 9 Mar 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

### Official description

Huawei AR120-S V200R005C32; AR1200 V200R005C32; AR1200-S V200R005C32; AR150 V200R005C32; AR150-S V200R005C32; AR160 V200R005C32; AR200 V200R005C32; AR200-S V200R005C32; AR2200-S V200R005C32; AR3200 V200R005C32; V200R007C00; AR510 V200R005C32; NetEngine16EX V200R005C32; SRG1300 V200R005C32; SRG2300 V200R005C32; SRG3300 V200R005C32 have an out-of-bounds write vulnerability. When a user executes a query command after the device received an abnormal OSPF message, the software writes data past the end of the intended buffer due to the insufficient verification of the input data. An unauthenticated, remote attacker could exploit this vulnerability by sending abnormal OSPF messages to the device. A successful exploit could cause the system to crash.

Weakness: CWE-787 (Out-of-bounds Write)

## Which versions are affected by CVE-2017-17250?

It affects 21 products.


Products: Huawei Ar120-S Firmware, Huawei Ar1200-S Firmware, Huawei Ar1200 Firmware, Huawei Ar150-S Firmware, Huawei Ar150 Firmware, Huawei Ar160 Firmware, Huawei Ar200-S Firmware, Huawei Ar200 Firmware, Huawei Ar2200-S Firmware, Huawei Ar3200 Firmware, Huawei Ar510 Firmware, Huawei Netengine16ex Firmware, Huawei S12700 Firmware, Huawei S2700 Firmware, Huawei S5700 Firmware, Huawei S6700 Firmware, Huawei S7700 Firmware, Huawei S9700 Firmware, Huawei Srg1300 Firmware, Huawei Srg2300 Firmware and 1 more.

## How do I fix CVE-2017-17250?

No fix has been published for CVE-2017-17250 yet. Limit exposure of the affected software until one is available.

## Is CVE-2017-17250 being exploited?

There is no known exploitation of CVE-2017-17250 in the wild and no public exploit code.

## Other vulnerabilities in Huawei Ar3200 Firmware

- [CVE-2017-17301](https://insights.sbomify.com/CVE-2017-17301/): Weak cryptography in AR120-S,AR1200,AR1200-S,AR150,AR160,AR200,AR200-S,AR2200,AR2200-S,AR3200,AR3600,AR510,CloudEngine 12800,CloudEngine 5800,CloudEngine 6800,CloudEngine 7800,DP300,SMC2.0,SRG1300,SRG2300,SRG3300,TE30,TE60,VP9660,ViewPoint 8660,eSpace IAD,eSpace U1981,eSpace USM (critical 9.8)
- [CVE-2019-19415](https://insights.sbomify.com/CVE-2019-19415/): Denial of service in AR120-S (high 7.5)
- [CVE-2019-19416](https://insights.sbomify.com/CVE-2019-19416/): Denial of service in AR120-S (high 7.5)
- [CVE-2019-19417](https://insights.sbomify.com/CVE-2019-19417/): Denial of service in AR120-S (high 7.5)
- [CVE-2019-5304](https://insights.sbomify.com/CVE-2019-5304/): Denial of service in AR120-S;AR1200;AR1200-S;AR150;AR150-S;AR160;AR200;AR200-S;AR2200;AR2200-S;AR3200;AR3600;IPS Module;NGFW Module;NIP6300;NIP6600;NetEngine16EX;S5700;S6700;SRG1300;SRG2300;SRG3300;Secospace AntiDDoS8000;Secospace USG6300;Secospace USG6500;Secospace USG6600 (high 7.5)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2017-17250 and fix it if it is affected.

What it is: CVE-2017-17250 is a medium-severity memory corruption vulnerability in Huawei Ar3200 Firmware, published on 9 Mar 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2017-17250 in the wild and no public exploit code.

Affected product: Huawei Ar3200 Firmware. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2017-17250/ (Markdown: https://insights.sbomify.com/CVE-2017-17250/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2017-17250
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2017-17250
- OSV: https://osv.dev/vulnerability/CVE-2017-17250

---
From sbomify Insights: https://insights.sbomify.com/CVE-2017-17250/
Summaries are generated and may contain mistakes; the official description above is the record.
