Vulnerabilities in pkg:golang/github.com/ryanbekhen/nanoproxy

PACKAGE
Advisory Summary

GHSA-7prj-hgx4-2xc3 is a HIGH potential vulnerabilities due to outdated vulnerability (CWE-1395: Dependency on Vulnerable Third-Party Component) affecting Github.com/ryanbekhen/nanoproxy libraries in the Go ecosystem. The issue involves potential vulnerabilities due to outdated golang.org/x/crypto dependency in nanoproxy. Remediation is available by upgrading affected packages to version 0.15.0.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/ryanbekhen/nanoproxy

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/ryanbekhen/nanoproxy. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-7prj-hgx4-2xc3 - HIGH Potential Vulnerabilities Due to Outdated golang.org/x/crypto Dependency in NanoProxy

GHSA-7prj-hgx4-2xc3 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-7prj-hgx4-2xc3
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-1395: Dependency on Vulnerable Third-Party Component
Affected Product Github.com/ryanbekhen/nanoproxy
Package Ecosystem Go
Published Date
Last Updated

How to Fix GHSA-7prj-hgx4-2xc3

To remediate this vulnerability, upgrade all affected Github.com/ryanbekhen/nanoproxy 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/ryanbekhen/nanoproxy fixed: 0.15.0
Upgrade github.com/ryanbekhen/nanoproxy to 0.15.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/ryanbekhen/nanoproxy

How to Check if You Are Affected

To determine whether your application is affected by GHSA-7prj-hgx4-2xc3, inspect your project dependencies for Github.com/ryanbekhen/nanoproxy:

inspect dependencies for github.com/ryanbekhen/nanoproxy

Analyze the terminal output to locate any version of Github.com/ryanbekhen/nanoproxy in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.15.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-1395: Dependency on Vulnerable Third-Party Component, where the product has a dependency on a third-party component that contains one or more known vulnerabilities. In Github.com/ryanbekhen/nanoproxy, 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 security issue was identified in the NanoProxy project related to the `golang.org/x/crypto` dependency. The project was using an outdated version of this dependency, which potentially exposed the system to security vulnerabilities that have been addressed in subsequent updates. Impact: The specific vulnerabilities in the outdated version of `golang.org/x/crypto` could include authorization bypasses, data breaches, or other security risks. These vulnerabilities can be exploited by attackers to compromise the integrity, confidentiality, or availability of the system. Resolution: The issue has been fixed in NanoProxy by upgrading the `golang.org/x/crypto` dependency to version 0.31.0. Users are strongly encouraged to update their instances of NanoProxy to include this fix and ensure they are using the latest secure version of all dependencies. Fixed Version: * `golang.org/x/crypto` upgraded to version 0.31.0.

GHSA-7prj-hgx4-2xc3 Affected Github.com/ryanbekhen/nanoproxy Versions

1 component(s)
Fixed Versions:
0.15.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/ryanbekhen/nanoproxy
Go
< 0.15.0
0.15.0

References

Frequently Asked Questions

What is GHSA-7prj-hgx4-2xc3?
GHSA-7prj-hgx4-2xc3 is a security vulnerability in Github.com/ryanbekhen/nanoproxy involving Potential Vulnerabilities Due to Outdated golang.org/x/crypto Dependency in NanoProxy under CWE-1395: Dependency on Vulnerable Third-Party Component.
Which Github.com/ryanbekhen/nanoproxy versions are affected?
Affected versions include releases prior to 0.15.0 across affected packages: github.com/ryanbekhen/nanoproxy.
What version fixes GHSA-7prj-hgx4-2xc3?
Upgrading to 0.15.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/ryanbekhen/nanoproxy affected?
Yes, github.com/ryanbekhen/nanoproxy is affected in releases prior to 0.15.0. Upgrade your dependency to 0.15.0 or later.
What CWE is associated with GHSA-7prj-hgx4-2xc3?
GHSA-7prj-hgx4-2xc3 is classified under CWE-1395: Dependency on Vulnerable Third-Party Component (The product has a dependency on a third-party component that contains one or more known vulnerabilities.).
How can I check Go dependencies for GHSA-7prj-hgx4-2xc3?
Run the dependency tree command: 'inspect dependencies for github.com/ryanbekhen/nanoproxy'. 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-7prj-hgx4-2xc3",
  "modified" : "2024-12-13T21:46:53Z",
  "published" : "2024-12-12T19:20:26Z",
  "aliases" : [ ],
  "summary" : "Potential Vulnerabilities Due to Outdated golang.org/x/crypto Dependency in NanoProxy",
  "details" : "A security issue was identified in the NanoProxy project related to the `golang.org/x/crypto` dependency. The project was using an outdated version of this dependency, which potentially exposed the system to security vulnerabilities that have been addressed in subsequent updates.\n\nImpact:\nThe specific vulnerabilities in the outdated version of `golang.org/x/crypto` could include authorization bypasses, data breaches, or other security risks. These vulnerabilities can be exploited by attackers to compromise the integrity, confidentiality, or availability of the system.\n\nResolution:\nThe issue has been fixed in NanoProxy by upgrading the `golang.org/x/crypto` dependency to version 0.31.0. Users are strongly encouraged to update their instances of NanoProxy to include this fix and ensure they are using the latest secure version of all dependencies.\n\nFixed Version:\n* `golang.org/x/crypto` upgraded to version 0.31.0.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/ryanbekhen/nanoproxy"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.15.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ryanbekhen/nanoproxy/security/advisories/GHSA-7prj-hgx4-2xc3"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-45337"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ryanbekhen/nanoproxy"
  }, {
    "type" : "WEB",
    "url" : "https://pkg.go.dev/vuln/GO-2024-3330"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1395", "CWE-285" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-12-12T19:20:26Z",
    "nvd_published_at" : null
  }
}