GSD-2015-4412

Vulnerability from gsd - Updated: 2015-06-04 00:00
Details
A flaw in the ObjectId validation regular expression can enable attackers to inject arbitrary information into a given BSON object.
Aliases

{
  "GSD": {
    "alias": "CVE-2015-4412",
    "description": "BSON injection vulnerability in the legal? function in BSON (bson-ruby) gem before 3.0.4 for Ruby allows remote attackers to cause a denial of service (resource consumption) or inject arbitrary data via a crafted string.",
    "id": "GSD-2015-4412",
    "references": [
      "https://www.suse.com/security/cve/CVE-2015-4412.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "affected": [
        {
          "package": {
            "ecosystem": "RubyGems",
            "name": "bson",
            "purl": "pkg:gem/bson"
          }
        }
      ],
      "aliases": [
        "CVE-2015-4412",
        "GHSA-h6rj-8r3c-9gpj"
      ],
      "details": "A flaw in the ObjectId validation regular expression can enable attackers to inject arbitrary information into a given BSON object.",
      "id": "GSD-2015-4412",
      "modified": "2015-06-04T00:00:00.000Z",
      "published": "2015-06-04T00:00:00.000Z",
      "references": [
        {
          "type": "WEB",
          "url": "http://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html"
        },
        {
          "type": "WEB",
          "url": "https://github.com/mongodb/mongo-ruby-driver/compare/6ae981167759d5819ba3d41e374e5b2af5b79077~1...9859a3ab9773a8a883eb8438b665a921cc991c71"
        },
        {
          "type": "WEB",
          "url": "https://github.com/mongodb/bson-ruby/compare/7446d7c6764dfda8dc4480ce16d5c023e74be5ca...28f34978a85b689a4480b4d343389bf4886522e7"
        }
      ],
      "schema_version": "1.4.0",
      "severity": [
        {
          "score": 9.8,
          "type": "CVSS_V3"
        }
      ],
      "summary": "Data Injection Vulnerability in bson Rubygem"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2015-4412",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "n/a"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "BSON injection vulnerability in the legal? function in BSON (bson-ruby) gem before 3.0.4 for Ruby allows remote attackers to cause a denial of service (resource consumption) or inject arbitrary data via a crafted string."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "75045",
            "refsource": "BID",
            "url": "http://www.securityfocus.com/bid/75045"
          },
          {
            "name": "https://github.com/mongodb/bson-ruby/commit/976da329ff03ecdfca3030eb6efe3c85e6db9999",
            "refsource": "CONFIRM",
            "url": "https://github.com/mongodb/bson-ruby/commit/976da329ff03ecdfca3030eb6efe3c85e6db9999"
          },
          {
            "name": "https://github.com/mongodb/bson-ruby/compare/7446d7c6764dfda8dc4480ce16d5c023e74be5ca...28f34978a85b689a4480b4d343389bf4886522e7",
            "refsource": "CONFIRM",
            "url": "https://github.com/mongodb/bson-ruby/compare/7446d7c6764dfda8dc4480ce16d5c023e74be5ca...28f34978a85b689a4480b4d343389bf4886522e7"
          },
          {
            "name": "https://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html",
            "refsource": "MISC",
            "url": "https://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html"
          },
          {
            "name": "https://bugzilla.redhat.com/show_bug.cgi?id=1229750",
            "refsource": "CONFIRM",
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1229750"
          },
          {
            "name": "[oss-security] 20150606 Re: CVE Request: bson-ruby DoS and possible injection",
            "refsource": "MLIST",
            "url": "http://www.openwall.com/lists/oss-security/2015/06/06/3"
          }
        ]
      }
    },
    "github.com/rubysec/ruby-advisory-db": {
      "cve": "2015-4412",
      "cvss_v3": 9.8,
      "date": "2015-06-04",
      "description": "A flaw in the ObjectId validation regular expression can enable attackers to inject arbitrary information into a given BSON object.",
      "gem": "bson",
      "ghsa": "h6rj-8r3c-9gpj",
      "patched_versions": [
        "~\u003e 1.12.3",
        "\u003e= 3.0.4"
      ],
      "related": {
        "url": [
          "https://github.com/mongodb/mongo-ruby-driver/compare/6ae981167759d5819ba3d41e374e5b2af5b79077~1...9859a3ab9773a8a883eb8438b665a921cc991c71",
          "https://github.com/mongodb/bson-ruby/compare/7446d7c6764dfda8dc4480ce16d5c023e74be5ca...28f34978a85b689a4480b4d343389bf4886522e7"
        ]
      },
      "title": "Data Injection Vulnerability in bson Rubygem",
      "url": "http://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html"
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c1.12.3||\u003e2.0.0a \u003c3.0.4",
          "affected_versions": "All versions before 1.12.3, all versions after 2.0.0a before 3.0.4",
          "credit": "Egor Homakov",
          "cvss_v2": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
          "cvss_v3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-400",
            "CWE-937"
          ],
          "date": "2018-03-13",
          "description": "A flaw in the ObjectId validation regular expression can enable attackers to inject arbitrary information into a given BSON object.",
          "fixed_versions": [
            "1.12.3",
            "3.0.4"
          ],
          "identifier": "CVE-2015-4412",
          "identifiers": [
            "CVE-2015-4412"
          ],
          "not_impacted": "All versions starting from 1.12.3 up to 2.0.0a, all versions starting from 3.0.4",
          "package_slug": "gem/bson",
          "pubdate": "2018-02-05",
          "solution": "Upgrade to versions 1.12.3, 3.0.4 or above.",
          "title": "Data Injection Vulnerability",
          "urls": [
            "http://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html",
            "http://seclists.org/oss-sec/2015/q2/653",
            "https://github.com/mongodb/bson-ruby/commit/976da329ff03ecdfca3030eb6efe3c85e6db9999"
          ],
          "uuid": "a5b7c60d-9bda-4448-97f5-6ebacb29f5ee"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:bson_project:bson:3.0.3:*:*:*:*:ruby:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2015-4412"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "BSON injection vulnerability in the legal? function in BSON (bson-ruby) gem before 3.0.4 for Ruby allows remote attackers to cause a denial of service (resource consumption) or inject arbitrary data via a crafted string."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-400"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html"
            },
            {
              "name": "https://github.com/mongodb/bson-ruby/compare/7446d7c6764dfda8dc4480ce16d5c023e74be5ca...28f34978a85b689a4480b4d343389bf4886522e7",
              "refsource": "CONFIRM",
              "tags": [
                "Issue Tracking",
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/mongodb/bson-ruby/compare/7446d7c6764dfda8dc4480ce16d5c023e74be5ca...28f34978a85b689a4480b4d343389bf4886522e7"
            },
            {
              "name": "https://github.com/mongodb/bson-ruby/commit/976da329ff03ecdfca3030eb6efe3c85e6db9999",
              "refsource": "CONFIRM",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://github.com/mongodb/bson-ruby/commit/976da329ff03ecdfca3030eb6efe3c85e6db9999"
            },
            {
              "name": "https://bugzilla.redhat.com/show_bug.cgi?id=1229750",
              "refsource": "CONFIRM",
              "tags": [
                "Issue Tracking",
                "Third Party Advisory"
              ],
              "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1229750"
            },
            {
              "name": "75045",
              "refsource": "BID",
              "tags": [
                "VDB Entry",
                "Third Party Advisory"
              ],
              "url": "http://www.securityfocus.com/bid/75045"
            },
            {
              "name": "[oss-security] 20150606 Re: CVE Request: bson-ruby DoS and possible injection",
              "refsource": "MLIST",
              "tags": [
                "Mailing List"
              ],
              "url": "http://www.openwall.com/lists/oss-security/2015/06/06/3"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "cvssV2": {
            "accessComplexity": "LOW",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "PARTIAL",
            "baseScore": 7.5,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
            "version": "2.0"
          },
          "exploitabilityScore": 10.0,
          "impactScore": 6.4,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "HIGH",
          "userInteractionRequired": false
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.0"
          },
          "exploitabilityScore": 3.9,
          "impactScore": 5.9
        }
      },
      "lastModifiedDate": "2018-03-13T19:49Z",
      "publishedDate": "2018-02-05T16:29Z"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…