# CVE-2017-8162: Denial of service in AR120-S,AR1200,AR1200-S,AR150,AR150-S,AR160,AR200,AR200-S,AR2200,AR2200-S,AR3200,AR510,NetEngine16EX,SMC2.0,SRG1300,SRG2300,SRG3300

> An authenticated remote attacker can cause a stack overflow and service unavailability by sending specially crafted messages to Huawei AR routers.

- **Severity:** Medium 6.5 (`CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 22 Nov 2017
- **Updated:** 16 Sep 2024
- **Also known as:** GHSA-rjx7-w47v-q3x6

## What is CVE-2017-8162?

CVE-2017-8162 is a medium-severity denial of service vulnerability in Huawei Ar3200 Firmware, published on 22 Nov 2017. Any signed-in user can exploit it over the network, with no action from the victim.

### Official description

AR120-S with software V200R006C10, V200R007C00, V200R008C20, V200R008C30,AR1200 with software V200R006C10, V200R006C13, V200R007C00, V200R007C01, V200R007C02, V200R008C20, V200R008C30,AR1200-S with software V200R006C10, V200R007C00, V200R008C20, V200R008C30,AR150 with software V200R006C10, V200R007C00, V200R007C01, V200R007C02, V200R008C20, V200R008C30,AR150-S with software V200R006C10, V200R007C00, V200R008C20, V200R008C30,AR160 with software V200R006C10, V200R006C12, V200R007C00, V200R007C01, V200R007C02, V200R008C20, V200R008C30,AR200 with software V200R006C10, V200R007C00, V200R007C01, V200R008C20, V200R008C30,AR200-S with software V200R006C10, V200R007C00, V200R008C20, V200R008C30,AR2200 with software V200R006C10, V200R006C13, V200R006C16PWE, V200R007C00, V200R007C01, V200R007C02, V200R008C20, V200R008C30,AR2200-S with software V200R006C10, V200R007C00, V200R008C20, V200R008C30,AR3200 with software V200R006C10, V200R006C11, V200R007C00, V200R007C01, V200R007C02, V200R008C00, V200R008C10, V200R008C20, V200R008C30,AR510 with software V200R006C10, V200R006C12, V200R006C13, V200R006C15, V200R006C16, V200R006C17, V200R007C00, V200R008C20, V200R008C30,NetEngine16EX with software V200R006C10, V200R007C00, V200R008C20, V200R008C30,SMC2.0 with software V100R003C10, V100R005C00, V500R002C00, V600R006C00,SRG1300 with software V200R006C10, V200R007C00, V200R007C02, V200R008C20, V200R008C30,SRG2300 with software V200R006C10, V200R007C00, V200R007C02, V200R008C20, V200R008C30,SRG3300 with software V200R006C10, V200R007C00, V200R008C20, V200R008C30 have a DoS vulnerability. Due to incorrect malformed message processing logic, an authenticated, remote attacker could send specially crafted message to the target device.Successful exploit of the vulnerability could cause stack overflow and make a service unavailable.

Weakness: CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer)

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

It affects 17 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 Ar2200 Firmware, Huawei Ar3200 Firmware, Huawei Ar510 Firmware, Huawei Netengine16ex Firmware, Huawei Smc2.0 Firmware, Huawei Srg1300 Firmware, Huawei Srg2300 Firmware, Huawei Srg3300 Firmware.

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

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

## Is CVE-2017-8162 being exploited?

There is no known exploitation of CVE-2017-8162 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-8162 and fix it if it is affected.

What it is: CVE-2017-8162 is a medium-severity denial of service vulnerability in Huawei Ar3200 Firmware, published on 22 Nov 2017. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2017-8162 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-8162/ (Markdown: https://insights.sbomify.com/CVE-2017-8162/index.md)
```

## Sources

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

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