1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Security Policy
## Supported versions
Security fixes are supported for CherryUSB releases starting with **1.7.0**, including the latest release.
| Version | Security fixes |
| --- | --- |
| 1.7.0 and later, including the latest release | Supported |
| Earlier than 1.7.0 | Not supported |
## Device-mode testing requirements
When testing USB device mode, the device application's descriptors must be correct.
## Reporting a vulnerability
Please report suspected security vulnerabilities privately:
- Use **Report a vulnerability** on the repository's [Security Advisories page](https://github.com/cherry-embedded/CherryUSB/security/advisories), when private vulnerability reporting is available.
- Alternatively, email **[[email protected]](mailto:[email protected])** with the subject `CherryUSB security report: <short summary>`.
Please avoid posting details of an unpatched vulnerability in public issues or pull requests. For general bugs and support questions, use the repository's regular issue tracker.
Include the following information where possible:
- Affected release or commit, source files, and relevant functions.
- Whether the issue affects USB host mode, device mode, or both.
- MCU/SoC, USB controller and port driver, operating system, and relevant configuration macros.
- The input and conditions needed to trigger the issue, reproduction steps, and a minimal example or patch if available.
- Expected and observed behavior, potential impact, and any logs or traces.
- Your preferred name for attribution, or a request to remain anonymous.
## Handling and disclosure
Maintainers will assess the report and coordinate any fix and disclosure with the reporter. Affected versions, fixed versions, and any workarounds will be documented in the published advisory when confirmed.
## Published advisories
- [GitHub Security Advisories](https://github.com/cherry-embedded/CherryUSB/security/advisories)
- [Security advisory and CVE catalog](docs/en/security.rst)
- [安全公告与 CVE 目录(中文)](docs/zh/security.rst)
|