cve-2022-46337
Vulnerability from cvelistv5
Published
2023-11-20 08:49
Modified
2024-08-03 14:31
Severity ?
Summary
Apache Derby: LDAP injection vulnerability in authenticator
Impacted products
Vendor Product Version
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-03T14:31:46.301Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "vendor-advisory",
              "x_transferred"
            ],
            "url": "https://lists.apache.org/thread/q23kvvtoohgzwybxpwozmvvk17rp0td3"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://repo1.maven.org/maven2",
          "defaultStatus": "unaffected",
          "packageName": "org.apache.derby",
          "product": "Apache Derby",
          "vendor": "Apache Software Foundation",
          "versions": [
            {
              "lessThanOrEqual": "10.1.3.1",
              "status": "affected",
              "version": "10.1.1.0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "10.2.2.0",
              "status": "affected",
              "version": "10.2.1.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "10.3.3.0",
              "status": "affected",
              "version": "10.3.1.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "10.4.2.0",
              "status": "affected",
              "version": "10.4.1.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "10.5.3.0",
              "status": "affected",
              "version": "10.5.1.1",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "10.6.2.1",
              "status": "affected",
              "version": "10.6.1.0",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "10.7.1.1"
            },
            {
              "lessThanOrEqual": "10.8.3.0",
              "status": "affected",
              "version": "10.8.1.2",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "10.9.1.0"
            },
            {
              "lessThanOrEqual": "10.10.2.0",
              "status": "affected",
              "version": "10.10.1.1",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "10.11.1.1"
            },
            {
              "status": "affected",
              "version": "10.12.1.1"
            },
            {
              "status": "affected",
              "version": "10.13.1.1"
            },
            {
              "status": "affected",
              "version": "10.14.2.0"
            },
            {
              "lessThanOrEqual": "10.15.2.0",
              "status": "affected",
              "version": "10.15.1.3",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "10.16.1.1"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "This issue was discovered by \ufeff4ra1n and Y4tacker, who also proposed the fix."
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "A cleverly devised username might bypass LDAP authentication checks. In \nLDAP-authenticated Derby installations, this could let an attacker fill \nup the disk by creating junk Derby databases. In LDAP-authenticated \nDerby installations, this could also allow the attacker to execute \nmalware which was visible to and executable by the account which booted \nthe Derby server. In LDAP-protected databases which weren\u0027t also \nprotected by SQL GRANT/REVOKE authorization, this vulnerability could \nalso let an attacker view and corrupt sensitive data and run sensitive \ndatabase functions and procedures.\n\u003cbr\u003e\n\u003cbr\u003eMitigation:\n\u003cbr\u003eUsers should upgrade to Java 21 and Derby 10.17.1.0.\n\u003cbr\u003eAlternatively, users who wish to remain on older Java versions should \nbuild their own Derby distribution from one of the release families to \nwhich the fix was backported: 10.16, 10.15, and 10.14. Those are the \nreleases which correspond, respectively, with Java LTS versions 17, 11, \nand 8.\n\u003cbr\u003e\n\u003cbr\u003e"
            }
          ],
          "value": "A cleverly devised username might bypass LDAP authentication checks. In \nLDAP-authenticated Derby installations, this could let an attacker fill \nup the disk by creating junk Derby databases. In LDAP-authenticated \nDerby installations, this could also allow the attacker to execute \nmalware which was visible to and executable by the account which booted \nthe Derby server. In LDAP-protected databases which weren\u0027t also \nprotected by SQL GRANT/REVOKE authorization, this vulnerability could \nalso let an attacker view and corrupt sensitive data and run sensitive \ndatabase functions and procedures.\n\nMitigation:\n\nUsers should upgrade to Java 21 and Derby 10.17.1.0.\n\nAlternatively, users who wish to remain on older Java versions should \nbuild their own Derby distribution from one of the release families to \nwhich the fix was backported: 10.16, 10.15, and 10.14. Those are the \nreleases which correspond, respectively, with Java LTS versions 17, 11, \nand 8.\n\n"
        }
      ],
      "metrics": [
        {
          "other": {
            "content": {
              "text": "low"
            },
            "type": "Textual description of severity"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "LDAP Injection",
              "lang": "en"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-01-03T17:04:10.464Z",
        "orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
        "shortName": "apache"
      },
      "references": [
        {
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://lists.apache.org/thread/q23kvvtoohgzwybxpwozmvvk17rp0td3"
        }
      ],
      "source": {
        "defect": [
          "DERBY-7147"
        ],
        "discovery": "UNKNOWN"
      },
      "title": "Apache Derby: LDAP injection vulnerability in authenticator",
      "x_generator": {
        "engine": "Vulnogram 0.1.0-dev"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
    "assignerShortName": "apache",
    "cveId": "CVE-2022-46337",
    "datePublished": "2023-11-20T08:49:38.619Z",
    "dateReserved": "2022-11-29T16:35:03.918Z",
    "dateUpdated": "2024-08-03T14:31:46.301Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-46337\",\"sourceIdentifier\":\"security@apache.org\",\"published\":\"2023-11-20T09:15:07.180\",\"lastModified\":\"2024-11-21T07:30:24.783\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"A cleverly devised username might bypass LDAP authentication checks. In \\nLDAP-authenticated Derby installations, this could let an attacker fill \\nup the disk by creating junk Derby databases. In LDAP-authenticated \\nDerby installations, this could also allow the attacker to execute \\nmalware which was visible to and executable by the account which booted \\nthe Derby server. In LDAP-protected databases which weren\u0027t also \\nprotected by SQL GRANT/REVOKE authorization, this vulnerability could \\nalso let an attacker view and corrupt sensitive data and run sensitive \\ndatabase functions and procedures.\\n\\nMitigation:\\n\\nUsers should upgrade to Java 21 and Derby 10.17.1.0.\\n\\nAlternatively, users who wish to remain on older Java versions should \\nbuild their own Derby distribution from one of the release families to \\nwhich the fix was backported: 10.16, 10.15, and 10.14. Those are the \\nreleases which correspond, respectively, with Java LTS versions 17, 11, \\nand 8.\\n\\n\"},{\"lang\":\"es\",\"value\":\"Un nombre de usuario inteligentemente dise\u00f1ado podr\u00eda omitir las comprobaciones de autenticaci\u00f3n LDAP. En instalaciones Derby autenticadas por LDAP, esto podr\u00eda permitir que un atacante llene el disco creando bases de datos Derby basura. En instalaciones de Derby autenticadas por LDAP, esto tambi\u00e9n podr\u00eda permitir al atacante ejecutar malware que era visible y ejecutable por la cuenta que arranc\u00f3 el servidor Derby. En bases de datos protegidas por LDAP que tampoco estaban protegidas por la autorizaci\u00f3n SQL GRANT/REVOKE, esta vulnerabilidad tambi\u00e9n podr\u00eda permitir que un atacante vea y corrompa datos confidenciales y ejecute funciones y procedimientos de bases de datos confidenciales. Mitigaci\u00f3n: los usuarios deben actualizar a Java 21 y Derby 10.17.1.0. Alternativamente, los usuarios que deseen permanecer en versiones anteriores de Java deben crear su propia distribuci\u00f3n Derby a partir de una de las familias de versiones a las que se admiti\u00f3 la soluci\u00f3n: 10.16, 10.15 y 10.14. Esas son las versiones que corresponden, respectivamente, a las versiones 17, 11 y 8 de Java LTS.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":9.8,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":5.9}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-74\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:derby:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"10.1.1.0\",\"versionEndExcluding\":\"10.14.3.0\",\"matchCriteriaId\":\"ECA644FF-857A-4B43-BED5-9528613284F4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:derby:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"10.15.1.3\",\"versionEndExcluding\":\"10.15.2.1\",\"matchCriteriaId\":\"1A4C2868-1FF3-46C7-9C21-DA9C1C8268B4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:derby:10.16.1.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"80549185-7AB5-447C-9B9D-59B0E1156758\"}]}]}],\"references\":[{\"url\":\"https://lists.apache.org/thread/q23kvvtoohgzwybxpwozmvvk17rp0td3\",\"source\":\"security@apache.org\",\"tags\":[\"Mailing List\"]},{\"url\":\"https://lists.apache.org/thread/q23kvvtoohgzwybxpwozmvvk17rp0td3\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Mailing List\"]}]}}"
  }
}


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.