cve.bz

CWE-547: Use of Hard-coded, Security-relevant Constants, published in 2023

Filter

The product uses hard-coded constants instead of symbolic names for security-critical values, which increases the likelihood of mistakes during code maintenance or security policy change.

What the weakness is: CWE-547 at MITRE. OWASP Top 10: A02:2025 Security Misconfiguration. All weaknesses

Ask an AI about CWE-547

Show the promptExplain CWE-547: Use of Hard-coded, Security-relevant Constants and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/547.html and https://cve.bz/cve/cwe/547?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 9.8CVE-2023-1712deepset haystackEPSS 0.9%

    Use of Hard-coded, Security-relevant Constants in GitHub repository deepset-ai/haystack prior to 0.1.30.