CVE-2019-12496: Github.com/hybridgroup/gobot Improper Certificate Validation Vulnerability

HIGH
Advisory Identifier: GHSA-vfxc-r2gx-v2vq
CVSS 7.5
CWE-295
Published
Advisory Summary

CVE-2019-12496 is a HIGH (CVSS 7.5) improper certificate validation vulnerability (CWE-295: Improper Certificate Validation) affecting Github.com/hybridgroup/gobot libraries in the Go ecosystem. The issue involves hybrid group gobot improper certificate validation vulnerability. Remediation is available by upgrading affected packages to version 1.12.1-0.20190521122906-c1aa4f867846.

CVE-2019-12496 at a Glance

CVE Identifier CVE-2019-12496
GHSA Identifier GHSA-vfxc-r2gx-v2vq
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-295: Improper Certificate Validation
Affected Product Github.com/hybridgroup/gobot
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/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 None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2019-12496

To remediate this vulnerability, upgrade all affected Github.com/hybridgroup/gobot 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/hybridgroup/gobot fixed: 1.12.1-0.20190521122906-c1aa4f867846
Upgrade github.com/hybridgroup/gobot to 1.12.1-0.20190521122906-c1aa4f867846
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/hybridgroup/gobot

How to Check if You Are Affected

To determine whether your application is affected by CVE-2019-12496, inspect your project dependencies for Github.com/hybridgroup/gobot:

inspect dependencies for github.com/hybridgroup/gobot

Analyze the terminal output to locate any version of Github.com/hybridgroup/gobot in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.12.1-0.20190521122906-c1aa4f867846), 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-295: Improper Certificate Validation, where the product does not validate, or incorrectly validates, a certificate. In Github.com/hybridgroup/gobot, 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

An issue was discovered in Hybrid Group Gobot before 1.13.0. The mqtt subsystem skips verification of root CA certificates by default. ### Specific Go Packages Affected github.com/hybridgroup/gobot/platforms/mqtt

CVE-2019-12496 Affected Github.com/hybridgroup/gobot Versions

1 component(s)
Fixed Versions:
1.12.1-0.20190521122906-c1aa4f867846
Product / Package Ecosystem Affected Versions Fixed Version
github.com/hybridgroup/gobot
Go
< 1.12.1-0.20190521122906-c1aa4f867846
1.12.1-0.20190521122906-c1aa4f867846

References

Frequently Asked Questions

What is CVE-2019-12496?
CVE-2019-12496 is a security vulnerability in Github.com/hybridgroup/gobot involving Hybrid Group Gobot Improper Certificate Validation vulnerability under CWE-295: Improper Certificate Validation.
Which Github.com/hybridgroup/gobot versions are affected?
Affected versions include releases prior to 1.12.1-0.20190521122906-c1aa4f867846 across affected packages: github.com/hybridgroup/gobot.
What version fixes CVE-2019-12496?
Upgrading to 1.12.1-0.20190521122906-c1aa4f867846 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/hybridgroup/gobot affected?
Yes, github.com/hybridgroup/gobot is affected in releases prior to 1.12.1-0.20190521122906-c1aa4f867846. Upgrade your dependency to 1.12.1-0.20190521122906-c1aa4f867846 or later.
What is the CVSS score of CVE-2019-12496?
CVE-2019-12496 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2019-12496?
CVE-2019-12496 is classified under CWE-295: Improper Certificate Validation (The product does not validate, or incorrectly validates, a certificate.).
How can I check Go dependencies for CVE-2019-12496?
Run the dependency tree command: 'inspect dependencies for github.com/hybridgroup/gobot'. 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-vfxc-r2gx-v2vq",
  "modified" : "2023-09-29T16:02:16Z",
  "published" : "2022-05-24T16:46:55Z",
  "aliases" : [ "CVE-2019-12496" ],
  "summary" : "Hybrid Group Gobot Improper Certificate Validation vulnerability",
  "details" : "An issue was discovered in Hybrid Group Gobot before 1.13.0. The mqtt subsystem skips verification of root CA certificates by default.\n\n### Specific Go Packages Affected\ngithub.com/hybridgroup/gobot/platforms/mqtt",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/hybridgroup/gobot"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.12.1-0.20190521122906-c1aa4f867846"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-12496"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/hybridgroup/gobot/commit/c1aa4f867846da4669ecf3bc3318bd96b7ee6f3f"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/hybridgroup/gobot"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/hybridgroup/gobot/compare/ed53198...7f973df"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/hybridgroup/gobot/releases/tag/v1.13.0"
  }, {
    "type" : "WEB",
    "url" : "https://pkg.go.dev/vuln/GO-2021-0083"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-295" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-02-08T00:25:02Z",
    "nvd_published_at" : "2019-05-31T11:29:00Z"
  }
}