CVE-2018-25061
Description
A vulnerability was found in rgb2hex up to 0.1.5. It has been rated as problematic. This issue affects some unknown processing. The manipulation leads to inefficient regular expression complexity. The attack may be initiated remotely. Upgrading to version 0.1.6 is able to address this issue. The patch is named 9e0c38594432edfa64136fdf7bb651835e17c34f. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-217151.
Severity
MEDIUM
CVSS v3
4.3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L · source cna
Exploit chance (EPSS)
1.029%
chance of exploitation in the next 30 days
higher than 64.2% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-1333: Inefficient Regular Expression Complexity
Timeline
- 2022-12-31Published by the CNA19:33 UTC
- 2022-12-31GitHub advisory published (GHSA-7599-fqgm-v84p)same day
Exploit and advisory records
GitHub advisory GHSA-7599-fqgm-v84p, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| npm rgb2hex | before 0.1.6 | 0.1.6 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| rgb2hex_project rgb2hex | before 0.1.6fixed in 0.1.6 | 0.1.6 |
References
- https://github.com/christian-bromann/rgb2hex/commit/9e0c38594432edfa64136fdf7bb651835e17c34f
- https://github.com/christian-bromann/rgb2hex/releases/tag/v0.1.6
- https://vuldb.com/?ctiid.217151
- https://vuldb.com/?id.217151
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2018-25061'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2018-25061'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2018-25061'curl 'https://api.contrastcyber.com/cve_products/CVE-2018-25061'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).