gsd-2022-25167
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
Apache Flume versions 1.4.0 through 1.9.0 are vulnerable to a remote code execution (RCE) attack when a configuration uses a JMS Source with a JNDI LDAP data source URI when an attacker has control of the target LDAP server. This issue is fixed by limiting JNDI to allow only the use of the java protocol or no protocol.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2022-25167",
    "description": "Apache Flume versions 1.4.0 through 1.9.0 are vulnerable to a remote code execution (RCE) attack when a configuration uses a JMS Source with a JNDI LDAP data source URI when an attacker has control of the target LDAP server. This issue is fixed by limiting JNDI to allow only the use of the java protocol or no protocol.",
    "id": "GSD-2022-25167"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2022-25167"
      ],
      "details": "Apache Flume versions 1.4.0 through 1.9.0 are vulnerable to a remote code execution (RCE) attack when a configuration uses a JMS Source with a JNDI LDAP data source URI when an attacker has control of the target LDAP server. This issue is fixed by limiting JNDI to allow only the use of the java protocol or no protocol.",
      "id": "GSD-2022-25167",
      "modified": "2023-12-13T01:19:26.796420Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security@apache.org",
        "ID": "CVE-2022-25167",
        "STATE": "PUBLIC",
        "TITLE": "Apache Flume vulnerable to a JNDI RCE in JMSSource "
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "Apache Flume",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "\u003c",
                          "version_name": "flume-jms-source",
                          "version_value": "1.10.0"
                        },
                        {
                          "version_affected": "\u003e=",
                          "version_name": "flume-jms-source",
                          "version_value": "1.4.0"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "Apache Software Foundation"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "Apache Flume versions 1.4.0 through 1.9.0 are vulnerable to a remote code execution (RCE) attack when a configuration uses a JMS Source with a JNDI LDAP data source URI when an attacker has control of the target LDAP server. This issue is fixed by limiting JNDI to allow only the use of the java protocol or no protocol."
          }
        ]
      },
      "generator": {
        "engine": "Vulnogram 0.0.9"
      },
      "impact": [
        {
          "other": "moderate"
        }
      ],
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "CWE-20 Improper Input Validation"
              }
            ]
          },
          {
            "description": [
              {
                "lang": "eng",
                "value": "CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (\u0027Injection\u0027)"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://lists.apache.org/thread/16nf6b81zjpdc4y93ho99oxo83ddbsvg",
            "refsource": "MISC",
            "url": "https://lists.apache.org/thread/16nf6b81zjpdc4y93ho99oxo83ddbsvg"
          },
          {
            "name": "https://issues.apache.org/jira/browse/FLUME-3416",
            "refsource": "MISC",
            "url": "https://issues.apache.org/jira/browse/FLUME-3416"
          },
          {
            "name": "[oss-security] 20220614 CVE-2022-25167 - Apache Flume JMSSource does not protect from malicious JNDI urls",
            "refsource": "MLIST",
            "url": "http://www.openwall.com/lists/oss-security/2022/06/14/1"
          }
        ]
      },
      "source": {
        "defect": [
          "FLUME-3416"
        ],
        "discovery": "UNKNOWN"
      },
      "timeline": [
        {
          "lang": "eng",
          "time": "2022-01-15",
          "value": "Reported"
        },
        {
          "lang": "eng",
          "time": "2022-03-30",
          "value": "Fixed"
        }
      ]
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "[1.4.0,1.10.0)",
          "affected_versions": "All versions starting from 1.4.0 before 1.10.0",
          "cvss_v2": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-78",
            "CWE-937"
          ],
          "date": "2023-07-28",
          "description": "Apache Flume versions 1.4.0 through 1.9.0 is vulnerable to a remote code execution (RCE) attack when a configuration uses a JMS Source with a JNDI LDAP data source URI when an attacker has control of the target LDAP server. This issue is fixed by limiting JNDI to allow only the use of the java protocol or no protocol.",
          "fixed_versions": [
            "1.10.0"
          ],
          "identifier": "CVE-2022-25167",
          "identifiers": [
            "GHSA-x5m7-rwfx-w7qm",
            "CVE-2022-25167"
          ],
          "not_impacted": "All versions before 1.4.0, all versions starting from 1.10.0",
          "package_slug": "maven/org.apache.flume.flume-ng-sources/flume-jms-source",
          "pubdate": "2022-06-15",
          "solution": "Upgrade to version 1.10.0 or above.",
          "title": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-25167",
            "https://issues.apache.org/jira/browse/FLUME-3416",
            "https://lists.apache.org/thread/16nf6b81zjpdc4y93ho99oxo83ddbsvg",
            "http://www.openwall.com/lists/oss-security/2022/06/14/1",
            "https://github.com/apache/flume/commit/dafb26ccb172141c6e14e95447e1b6ae38e9a7d0",
            "https://github.com/advisories/GHSA-x5m7-rwfx-w7qm"
          ],
          "uuid": "b60dad8e-7a52-4920-98d1-e2cc9554ae91"
        },
        {
          "affected_range": "[1.4.0,1.10.0)",
          "affected_versions": "All versions starting from 1.4.0 before 1.10.0",
          "cwe_ids": [
            "CWE-1035",
            "CWE-78",
            "CWE-937"
          ],
          "date": "2022-06-17",
          "description": "Apache Flume versions 1.4.0 through 1.9.0 is vulnerable to a remote code execution (RCE) attack when a configuration uses a JMS Source with a JNDI LDAP data source URI when an attacker has control of the target LDAP server. This issue is fixed by limiting JNDI to allow only the use of the java protocol or no protocol.",
          "fixed_versions": [
            "1.10.0"
          ],
          "identifier": "CVE-2022-25167",
          "identifiers": [
            "GHSA-x5m7-rwfx-w7qm",
            "CVE-2022-25167"
          ],
          "not_impacted": "All versions before 1.4.0, all versions starting from 1.10.0",
          "package_slug": "maven/org.apache.flume/flume-parent",
          "pubdate": "2022-06-15",
          "solution": "Upgrade to version 1.10.0 or above.",
          "title": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-25167",
            "https://issues.apache.org/jira/browse/FLUME-3416",
            "https://lists.apache.org/thread/16nf6b81zjpdc4y93ho99oxo83ddbsvg",
            "http://www.openwall.com/lists/oss-security/2022/06/14/1",
            "https://github.com/apache/flume/commit/dafb26ccb172141c6e14e95447e1b6ae38e9a7d0",
            "https://github.com/advisories/GHSA-x5m7-rwfx-w7qm"
          ],
          "uuid": "995b46b9-225f-4123-ab59-c5544ee6fb49"
        },
        {
          "affected_range": "[1.4.0,1.10.0)",
          "affected_versions": "All versions starting from 1.4.0 before 1.10.0",
          "cvss_v2": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2022-06-27",
          "description": "Apache Flume versions 1.4.0 through 1.9.0 is vulnerable to a remote code execution (RCE) attack when a configuration uses a JMS Source with a JNDI LDAP data source URI when an attacker has control of the target LDAP server. This issue is fixed by limiting JNDI to allow only the use of the java protocol or no protocol.",
          "fixed_versions": [
            "1.10.0"
          ],
          "identifier": "CVE-2022-25167",
          "identifiers": [
            "CVE-2022-25167"
          ],
          "not_impacted": "All versions before 1.4.0, all versions starting from 1.10.0",
          "package_slug": "maven/org.mongodb.mongo-hadoop/flume",
          "pubdate": "2022-06-14",
          "solution": "Upgrade to version 1.10.0 or above.",
          "title": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-25167",
            "https://lists.apache.org/thread/16nf6b81zjpdc4y93ho99oxo83ddbsvg",
            "https://issues.apache.org/jira/browse/FLUME-3416",
            "http://www.openwall.com/lists/oss-security/2022/06/14/1"
          ],
          "uuid": "c028b73f-d333-4468-aa91-4ddf8cb7a9d0"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:apache:flume:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "1.10.0",
                "versionStartIncluding": "1.4.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security@apache.org",
          "ID": "CVE-2022-25167"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "Apache Flume versions 1.4.0 through 1.9.0 are vulnerable to a remote code execution (RCE) attack when a configuration uses a JMS Source with a JNDI LDAP data source URI when an attacker has control of the target LDAP server. This issue is fixed by limiting JNDI to allow only the use of the java protocol or no protocol."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "NVD-CWE-noinfo"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "N/A",
              "refsource": "CONFIRM",
              "tags": [
                "Broken Link"
              ],
              "url": "https://lists.apache.org/thread/16nf6b81zjpdc4y93ho99oxo83ddbsvg"
            },
            {
              "name": "N/A",
              "refsource": "CONFIRM",
              "tags": [
                "Issue Tracking",
                "Patch",
                "Vendor Advisory"
              ],
              "url": "https://issues.apache.org/jira/browse/FLUME-3416"
            },
            {
              "name": "[oss-security] 20220614 CVE-2022-25167 - Apache Flume JMSSource does not protect from malicious JNDI urls",
              "refsource": "MLIST",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "http://www.openwall.com/lists/oss-security/2022/06/14/1"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "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.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "exploitabilityScore": 3.9,
          "impactScore": 5.9
        }
      },
      "lastModifiedDate": "2022-06-27T16:42Z",
      "publishedDate": "2022-06-14T08:15Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…