Skip to content
OpenAdvisories

Weakness (CWE)

CWE-311: Missing Encryption of Sensitive Data

Class Draft Mapping discouraged

The product does not encrypt sensitive or critical information before storage or transmission.

How to prevent it (6 mitigations)
  1. Requirements

    Clearly specify which data or resources are valuable enough that they should be protected by encryption. Require that any transmission or storage of this data/resource should use well-vetted encryption algorithms.

  2. Architecture and Design

    Ensure that encryption is properly integrated into the system design, including but not necessarily limited to:

    - Encryption that is needed to store or transmit private data of the users of the system

    - Encryption that is needed to protect the system itself from unauthorized disclosure or tampering

    Identify the separate needs and contexts for encryption:

    - One-way (i.e., only the user or recipient needs to have the key). This can be achieved using public key cryptography, or other techniques in which the encrypting party (i.e., the product) does not need to have access to a private key.

    - Two-way (i.e., the encryption can be automatically performed on behalf of a user, but the key must be available so that the plaintext can be automatically recoverable by that user). This requires storage of the private key in a format that is recoverable only by the user (or perhaps by the operating system) in a way that cannot be recovered by others.

    Using threat modeling or other techniques, assume that data can be compromised through a separate vulnerability or weakness, and determine where encryption will be most effective. Ensure that data that should be private is not being inadvertently exposed using weaknesses such as insecure permissions (CWE-732). [REF-7]

  3. Architecture and Design

    When there is a need to store or transmit sensitive data, use strong, up-to-date cryptographic algorithms to encrypt that data. Select a well-vetted algorithm that is currently considered to be strong by experts in the field, and use well-tested implementations. As with all cryptographic mechanisms, the source code should be available for analysis.

    For example, US government systems require FIPS 140-2 certification.

    Do not develop custom or private cryptographic algorithms. They will likely be exposed to attacks that are well-understood by cryptographers. Reverse engineering techniques are mature. If the algorithm can be compromised if attackers find out how it works, then it is especially weak.

    Periodically ensure that the cryptography has not become obsolete. Some older algorithms, once thought to require a billion years of computing time, can now be broken in days or hours. This includes MD4, MD5, SHA1, DES, and other algorithms that were once regarded as strong. [REF-267]

  4. Architecture and Design

    Compartmentalize the system to have "safe" areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area.

    Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

  5. Implementation, Architecture and Design

    When using industry-approved techniques, use them correctly. Don't cut corners by skipping resource-intensive steps (CWE-325). These steps are often essential for preventing common attacks.

  6. Implementation

    Use naming conventions and strong types to make it easier to spot when sensitive data is being used. When creating structures, objects, or other complex entities, separate the sensitive and non-sensitive data as much as possible.

Source: MITRE CWE-311

383 results · Feed

  • Medium 4.3

    Jenkins ByteGuard Build Actions Plugin stores API tokens unencrypted in job config.xml files

    Jenkins ByteGuard Build Actions Plugin 1.0 stores API tokens unencrypted in job config.xml files on the Jenkins controller where they can be viewed by users with Item/Extended Read permission, or access to the Jenkins controller file system.

  • Medium 4.3

    Jenkins OpenShift Pipeline Plugin stores authorization tokens unencrypted in job config.xml files

    Jenkins OpenShift Pipeline Plugin 1.0.57 and earlier stores authorization tokens unencrypted in job config.xml files on the Jenkins controller where they can be viewed by users with Item/Extended Read permission, or access to the Jenkins controller file syste…

  • High 8.6

    An insecure implementation of the proprietary protocol DNET in Product CGM MEDICO allows attackers within the intranet …

  • Medium 5.5

    Dragonfly tiny file download uses hard coded HTTP protocol

    Dragonfly is an open source P2P-based file distribution and image acceleration system. Prior to 2.1.0, the code in the scheduler for downloading a tiny file is hard coded to use the HTTP protocol, rather than HTTPS. This means that an attacker could perform a…

  • Medium 4.6

    Lack of Encryption in Object Archive in AxxonSoft Axxon One (C-Werk) before 2.0.8

    Missing Encryption of Sensitive Data (CWE-311) in the Object Archive component in AxxonSoft Axxon One (C-Werk) before 2.0.8 on Windows and Linux allows a local attacker with access to exported storage or stolen physical drives to extract sensitive archive dat…

  • Medium 5.3

    A cryptographic weakness has been identified in the HCL BigFix Service Management (SM)

    HCL BigFix SM is affected by cryptographic weakness due to weak or outdated encryption algorithms.  An attacker with network access could exploit this weakness to decrypt or manipulate encrypted communications under certain conditions.

  • High 7.1

    Ambiguous wording in the web interface of the ctrlX OS setup mechanism could lead the user to believe that the backup f…

  • Medium 4.8

    A vulnerability has been identified in SmartClient modules Opcenter QL Home (SC) (All versions >= V13.2 < V2506), SOA A…

  • Low 3.1

    A vulnerability has been identified in SmartClient modules Opcenter QL Home (SC) (All versions >= V13.2 < V2506), SOA A…

  • Low 3.7

    Ruijie EG306MG strongSwan strongswan.conf missing encryption

    A vulnerability was found in Ruijie EG306MG 3.0(1)B11P309. It has been rated as problematic. This issue affects some unknown processing of the file /etc/strongswan.conf of the component strongSwan. The manipulation of the argument i_dont_care_about_security_a…

  • High 7.0

    pyjwt v2.10.1 was discovered to contain weak encryption. NOTE: this is disputed by the Supplier because the key length …

  • Medium 4.4

    A privacy issue was addressed by removing the vulnerable code. This issue is fixed in macOS Sequoia 15.6. A sandboxed p…

  • Medium 6.9

    Encryption of sensitive data in CapillaryScope missing

    Lack of sensitive data encryption in CapillaryScope v2.5.0 of Capillary io, which stores both the proxy credentials and the JWT session token in plain text within different registry keys on the Windows operating system. Any authenticated local user with read …

  • Medium 5.9

    IBM Engineering Systems Design Rhapsody information disclosure

    IBM Engineering Systems Design Rhapsody 9.0.2, 10.0, and 10.0.1 transmits sensitive information without encryption that could allow an attacker to obtain highly sensitive information.

  • Medium 5.9

    IBM Cognos Analytics Mobile (iOS) information disclosure

    IBM Cognos Analytics Mobile (iOS) 1.1.0 through 1.1.22 could be vulnerable to information exposure due to the use of unencrypted network traffic.

  • Medium 6.5

    Jenkins User1st uTester Plugin vulnerability exposes unencrypted token to authenticated users

    Jenkins User1st uTester Plugin 1.1 and earlier stores the uTester JWT token unencrypted in its global configuration file on the Jenkins controller, where it can be viewed by users with access to the Jenkins controller file system.

  • Medium 6.5

    Jenkins Xooa Plugin vulnerability exposes unencrypted tokens to authenticated users

    Jenkins Xooa Plugin 0.0.7 and earlier stores the Xooa Deployment Token unencrypted in its global configuration file on the Jenkins controller, where it can be viewed by users with access to the Jenkins controller file system.

  • Medium 6.5

    Jenkins Sensedia API Platform Plugin vulnerability exposes unencrypted tokens in its global configuration file

    Jenkins Sensedia Api Platform tools Plugin 1.0 stores the Sensedia API Manager integration token unencrypted in its global configuration file on the Jenkins controller, where it can be viewed by users with access to the Jenkins controller file system.

  • Medium 6.5

    Jenkins VAddy Plugin vulnerability exposes unencrypted keys to certain authenticated users

    Jenkins VAddy Plugin 1.2.8 and earlier stores Vaddy API Auth Keys unencrypted in job config.xml files on the Jenkins controller, where they can be viewed by users with Item/Extended Read permission or access to the Jenkins controller file system.

  • Medium 6.5

    Jenkins Dead Man's Snitch Plugin vulnerability stores tokens in plain text

    Jenkins Dead Man's Snitch Plugin 0.1 stores Dead Man's Snitch tokens unencrypted in job config.xml files on the Jenkins controller, where they can be viewed by users with Item/Extended Read permission or access to the Jenkins controller file system.

  • Medium 6.5

    Jenkins IBM Cloud DevOps Plugin vulnerability exposes SonarQube authentication tokens

    Jenkins IBM Cloud DevOps Plugin 2.0.16 and earlier stores SonarQube authentication tokens unencrypted in job config.xml files on the Jenkins controller, where they can be viewed by users with Item/Extended Read permission or access to the Jenkins controller f…

  • Medium 6.5

    Jenkins QMetry Test Management Plugin stores unencrypted API keys

    Jenkins QMetry Test Management Plugin 1.13 and earlier stores Qmetry Automation API Keys unencrypted in job config.xml files on the Jenkins controller, where they can be viewed by users with Item/Extended Read permission or access to the Jenkins controller fi…

  • Medium 4.3

    Jenkins Aqua Security Scanner Plugin vulnerability exposes scanner tokens

    Jenkins Aqua Security Scanner Plugin 3.2.8 and earlier stores Scanner Tokens for Aqua API unencrypted in job config.xml files on the Jenkins controller, where they can be viewed by users with Item/Extended Read permission or access to the Jenkins controller f…

  • High 7.5

    S3 and Glacier remotes creds embedded in the git repo were not encrypted

    git-annex had a bug in the S3 and Glacier remotes where if embedcreds=yes was set, and the remote used encryption=pubkey or encryption=hybrid, the embedded AWS credentials were stored in the git repository in (effectively) plaintext, not encrypted as they wer…

  • Medium 5.7

    An issue was discovered in the COROS application through 3.8.12 for Android. Bluetooth pairing and bonding is neither i…

  • Medium 6.5

    A vulnerability has been identified in SIRIUS 3RK3 Modular Safety System (MSS) (All versions), SIRIUS Safety Relays 3SK…

  • Low 2.4

    ToolHive stores secrets in the state store with no encryption

    ToolHive is a utility designed to simplify the deployment and management of Model Context Protocol (MCP) servers. Due to the ordering of code used to start an MCP server container, versions of ToolHive prior to 0.0.33 inadvertently store secrets in the run co…

  • Medium 5.5

    Jenkins AsakusaSatellite Plugin Does not Mask API Keys via Job Configuration Form

    Jenkins AsakusaSatellite Plugin 0.1.1 and earlier does not mask AsakusaSatellite API keys displayed on the job configuration form, increasing the potential for attackers to observe and capture them.

  • Medium 6.5

    IBM Cloud Pak System information disclosure

    IBM Cloud Pak System 2.3.3.0, 2.3.3.3, 2.3.3.3 iFix1, 2.3.3.4, 2.3.3.5, 2.3.3.6, 2.3.36 iFix1, 2.3.3.6 iFix2, 2.3.3.7, 2.3.3.7 iFix1, 2.3.4.0, and 2.3.4.1 stores sensitive data in memory, that could be obtained by an unauthorized user.

  • High 8.1

    OpenDaylight SFC Insecure Shiro Cookie Configuration

    Insecure Shiro cookie configurations in OpenDaylight Service Function Chaining (SFC) Subproject SFC Sodium-SR4 and below allow attackers to access sensitive information via a man-in-the-middle attack.

  • Low 2.0

    Field in api-go proxy not transformed before version 1.44.1

    The Temporal api-go library prior to version 1.44.1 did not send `update response` information to Data Converter when the proxy package within the api-go module was used in a gRPC proxy prior to transmission. This resulted in information contained within the …

  • Medium 5.9

    IBM Storage Defender information disclosure

    IBM Storage Defender 2.0.0 through 2.0.7 on-prem defender-sensor-cmd CLI could allow a remote attacker to obtain sensitive information, caused by sending network requests over an insecure channel. An attacker could exploit this vulnerability to obtain sensiti…

  • Medium 4.6

    On Arista CloudVision Appliance (CVA) affected releases running on appliances that support hardware disk encryption (DCA-350E-CV only), the disk encryption might not be successfully performed. This results in the disks remaining unsecured and data on them

    On Arista CloudVision Appliance (CVA) affected releases running on appliances that support hardware disk encryption (DCA-350E-CV only), the disk encryption might not be successfully performed. This results in the disks remaining unsecured and data on them

  • High 7.5

    Access control vulnerability in the identity authentication module Impact: Successful exploitation of this vulnerabilit…

  • Medium 5.9

    Snowflake JDBC Security Advisory

    Snowflake JDBC driver versions >= 3.2.6 and <= 3.19.1 have an Incorrect Security Setting that can result in data being uploaded to an encrypted stage without the additional layer of protection provided by client side encryption.

  • High 8.2

    Insecure communication between the FRP client and server in Gradio

    Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves **insecure communication** between the FRP (Fast Reverse Proxy) client and server when Gradio's `share=True` option is used. HTTPS is not enforced on the conne…

  • Medium 6.5

    Cisco Identity Services Engine Information Disclosure Vulnerability

    A vulnerability in the web-based management interface of Cisco Identity Services Engine (ISE) could allow an authenticated, remote attacker to obtain sensitive information from an affected device. This vulnerability is due to a lack of proper data protection …

  • Medium 5.0

    Missing encryption of sensitive data vulnerability in settings functionality in Synology Active Backup for Business Age…

  • Medium 5.3

    Missing encryption of sensitive data vulnerability in login component in Synology Active Backup for Business Agent befo…

  • Medium 6.5

    Hughes Network Systems WL3000 Missing Encryption of Sensitive Data

    Credentials to access device configuration were transmitted using an unencrypted protocol. These credentials would allow read-only access to network configuration information and terminal configuration data.