GoldOpen Source
ExplorePackagesVulnerabilitiesMCP Servers
Search Gold…⌘KLogin
GoldOpen Source

The authoritative source for production-ready open-source components. Every package, container image, AI model, and MCP server undergoes rigorous verification for security and license compliance.

Explore Gold

  • Explore Everything
  • Packages
  • Gold Packages
  • Container Images
  • AI Models
  • MCP Servers
  • Agent Skills
  • Chip Manufacturers

Security Data & Tools

  • Scan Your Dependencies
  • Trending Threats
  • Threat RSS Feeds
  • CVE Database
  • Actively Exploited (KEV)
  • SGZ Zero-Days
  • CWE Index
  • MITRE ATT&CK
  • Malicious Packages
  • Security Glossary
  • Supply-Chain Report
  • Developers (API & Badge)
  • Chrome Extension
  • Credits & Data Sources

Products

  • The Platform
  • ESSCM
  • Portal
  • TPRM
  • OSM
  • Cowork
  • Code / Runner
  • Guard

Use Cases

  • Know Your Software
  • Auto-Fix Vulnerabilities
  • Asset Discovery
  • AI Governance
  • MCP Server Security
  • Supply Chain Compliance
  • Zero-Day Discovery
  • All Use Cases

Company

  • About
  • Pricing
  • Blog
  • Documentation
  • Safeguard Academy
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 Gold Open Source. All rights reserved.

Built with care bySafeguard
GoldOpen Source
ExplorePackagesVulnerabilitiesMCP Servers
Search Gold…⌘KLogin
Home/CWEs/CWE-327
ShareXLinkedInRedditHN
Common Weakness Enumeration

CWE-327: Broken or Risky Cryptographic Algorithm

Abstraction
Class
OWASP Top 10
A02:2021 (#2)
Exploit Likelihood
Medium
Related CVEs
18

Description

The product uses a broken or weak cryptographic primitive.

How to mitigate

  • Use current, vetted primitives (AES-GCM, SHA-256+, Argon2); never build custom crypto.

How attackers exploit CWE-327

MITRE ATT&CK techniques associated with this weakness class (mapped via MITRE CAPEC). A vulnerability of this type could let an adversary carry out:

T1036MasqueradingstealthT1110Brute Forcecredential-accessT1195Supply Chain Compromiseinitial-access

Related CVEs

MediumCVE-2020-28498Security vulnerability in elliptic
MediumCVE-2020-28498Security vulnerability in elliptic
HighCVE-2005-2946Security vulnerability in openssl

References & documentation

  • https://cwe.mitre.org/data/definitions/327.html
  • NVD CWE listing

Weakness facts

IDCWE-327
AbstractionClass
OWASP Top 10A02:2021 (#2)
Exploit LikelihoodMedium
Related CVEs18

Turn Gold’s intelligence into continuous protection

Safeguard scans your code, containers, and dependencies, tells you what’s exposed, and automates the fixes.

Start free See pricing
GoldOpen Source

The authoritative source for production-ready open-source components. Every package, container image, AI model, and MCP server undergoes rigorous verification for security and license compliance.

Explore Gold

  • Explore Everything
  • Packages
  • Gold Packages
  • Container Images
  • AI Models
  • MCP Servers
  • Agent Skills
  • Chip Manufacturers

Security Data & Tools

  • Scan Your Dependencies
  • Trending Threats
  • Threat RSS Feeds
  • CVE Database
  • Actively Exploited (KEV)
  • SGZ Zero-Days
  • CWE Index
  • MITRE ATT&CK
  • Malicious Packages
  • Security Glossary
  • Supply-Chain Report
  • Developers (API & Badge)
  • Chrome Extension
  • Credits & Data Sources

Products

  • The Platform
  • ESSCM
  • Portal
  • TPRM
  • OSM
  • Cowork
  • Code / Runner
  • Guard

Use Cases

  • Know Your Software
  • Auto-Fix Vulnerabilities
  • Asset Discovery
  • AI Governance
  • MCP Server Security
  • Supply Chain Compliance
  • Zero-Day Discovery
  • All Use Cases

Company

  • About
  • Pricing
  • Blog
  • Documentation
  • Safeguard Academy
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 Gold Open Source. All rights reserved.

Built with care bySafeguard
T1553
Subvert Trust Controls
defense-impairment

Step-by-step: how CWE-327 gets exploited

A stage-by-stage walkthrough of the attack, mapped to the real MITRE ATT&CK tactics for this weakness — what the attacker is trying to do, what's at risk (what can be stolen or damaged), and how you defend. Understanding the playbook is how you shut it down.

  1. 1
    Initial accessinitial-access

    Use the weakness as the way in — the first foothold on the system.

    At risk / what's stolen

    The vulnerable entry point (an input, endpoint, or dependency) that accepts attacker-controlled data.

    How you defend

    Validate and sanitise all input at the boundary; patch to a fixed version.

  2. 2
    Credential accesscredential-access

    Steal passwords, tokens, keys, and session material.

    At risk / what's stolen

    Passwords, API keys, session tokens, SSH/TLS keys, and secrets in memory, env, or config.

    How you defend

    Secret managers, short-lived tokens, and no secrets in code/env/logs.

This is a defensive, conceptual walkthrough for education — stages reflect MITRE ATT&CK tactics associated with this weakness class, not a working exploit. Not every attack uses every stage.

MediumCVE-2022-1434Security vulnerability in openssl
MediumCVE-2022-2097Security vulnerability in openssl
HighCVE-2019-1543Security vulnerability in openssl
MediumCVE-2018-0734Security vulnerability in openssl
LowCVE-2021-23839Security vulnerability in openssl
MediumCVE-2018-0735Security vulnerability in openssl
MediumCVE-2018-0737Security vulnerability in openssl
HighCVE-2019-1543Security vulnerability in openssl
LowCVE-2021-23839Security vulnerability in openssl
MediumCVE-2022-2097Security vulnerability in openssl
HighCVE-2005-2946Security vulnerability in openssl
MediumCVE-2022-1434Security vulnerability in openssl
MediumCVE-2018-0734Security vulnerability in openssl
MediumCVE-2018-0735Security vulnerability in openssl
MediumCVE-2018-0737Security vulnerability in openssl