Vulnerabilities in pkg:golang/github.com/agnivade/easy-scrypt

PACKAGE
Advisory Identifier: GHSA-r894-5r7v-7rx3
Advisory Summary

CVE-2014-125055 is a MODERATE (CVSS 5.3) easy-scrypt observable timing discrepancy vulnerability vulnerability (CWE-208: Observable Timing Discrepancy) affecting Github.com/agnivade/easy scrypt libraries in the Go ecosystem. The issue involves easy-scrypt observable timing discrepancy vulnerability. Remediation is available by upgrading affected packages to version 1.0.0.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/agnivade/easy-scrypt

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/agnivade/easy-scrypt. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-r894-5r7v-7rx3 CVE-2014-125055 MODERATE easy-scrypt Observable Timing Discrepancy vulnerability

CVE-2014-125055 at a Glance

CVE Identifier CVE-2014-125055
GHSA Identifier GHSA-r894-5r7v-7rx3
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-208: Observable Timing Discrepancy
Affected Product Github.com/agnivade/easy scrypt
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2014-125055

To remediate this vulnerability, upgrade all affected Github.com/agnivade/easy scrypt dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/agnivade/easy-scrypt fixed: 1.0.0
Upgrade github.com/agnivade/easy-scrypt to 1.0.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/agnivade/easy-scrypt

How to Check if You Are Affected

To determine whether your application is affected by CVE-2014-125055, inspect your project dependencies for Github.com/agnivade/easy scrypt:

inspect dependencies for github.com/agnivade/easy-scrypt

Analyze the terminal output to locate any version of Github.com/agnivade/easy scrypt in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-208: Observable Timing Discrepancy, where two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not. In Github.com/agnivade/easy scrypt, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A vulnerability, which was classified as problematic, was found in agnivade easy-scrypt. Affected is the function `VerifyPassphrase` of the file `scrypt.go`. The manipulation leads to observable timing discrepancy. Upgrading to version 1.0.0 can address this issue. The name of the patch is 477c10cf3b144ddf96526aa09f5fdea613f21812. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-217596.

CVE-2014-125055 Affected Github.com/agnivade/easy scrypt Versions

1 component(s)
Fixed Versions:
1.0.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/agnivade/easy-scrypt
Go
< 1.0.0
1.0.0

References

Frequently Asked Questions

What is CVE-2014-125055?
CVE-2014-125055 is a security vulnerability in Github.com/agnivade/easy scrypt involving easy-scrypt Observable Timing Discrepancy vulnerability under CWE-208: Observable Timing Discrepancy.
Which Github.com/agnivade/easy scrypt versions are affected?
Affected versions include releases prior to 1.0.0 across affected packages: github.com/agnivade/easy-scrypt.
What version fixes CVE-2014-125055?
Upgrading to 1.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/agnivade/easy-scrypt affected?
Yes, github.com/agnivade/easy-scrypt is affected in releases prior to 1.0.0. Upgrade your dependency to 1.0.0 or later.
What is the CVSS score of CVE-2014-125055?
CVE-2014-125055 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2014-125055?
CVE-2014-125055 is classified under CWE-208: Observable Timing Discrepancy (Two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not.).
How can I check Go dependencies for CVE-2014-125055?
Run the dependency tree command: 'inspect dependencies for github.com/agnivade/easy-scrypt'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-r894-5r7v-7rx3",
  "modified" : "2023-01-12T23:40:22Z",
  "published" : "2023-01-07T09:30:17Z",
  "aliases" : [ "CVE-2014-125055" ],
  "summary" : "easy-scrypt Observable Timing Discrepancy vulnerability",
  "details" : "A vulnerability, which was classified as problematic, was found in agnivade easy-scrypt. Affected is the function `VerifyPassphrase` of the file `scrypt.go`. The manipulation leads to observable timing discrepancy. Upgrading to version 1.0.0 can address this issue. The name of the patch is 477c10cf3b144ddf96526aa09f5fdea613f21812. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-217596.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/agnivade/easy-scrypt"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.0.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-125055"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/agnivade/easy-scrypt/commit/477c10cf3b144ddf96526aa09f5fdea613f21812"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/agnivade/easy-scrypt"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/agnivade/easy-scrypt/releases/tag/v1.0.0"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?ctiid.217596"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?id.217596"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-208" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-01-12T23:40:22Z",
    "nvd_published_at" : "2023-01-07T09:15:00Z"
  }
}