CVE-2022-46337 (GCVE-0-2022-46337)
Vulnerability from cvelistv5
Published
2023-11-20 08:49
Modified
2025-06-10 13:44
Severity ?
CWE
  • LDAP Injection
Summary
A cleverly devised username might bypass LDAP authentication checks. In LDAP-authenticated Derby installations, this could let an attacker fill up the disk by creating junk Derby databases. In LDAP-authenticated Derby installations, this could also allow the attacker to execute malware which was visible to and executable by the account which booted the Derby server. In LDAP-protected databases which weren't also protected by SQL GRANT/REVOKE authorization, this vulnerability could also let an attacker view and corrupt sensitive data and run sensitive database functions and procedures. Mitigation: Users should upgrade to Java 21 and Derby 10.17.1.0. Alternatively, users who wish to remain on older Java versions should build their own Derby distribution from one of the release families to which the fix was backported: 10.16, 10.15, and 10.14. Those are the releases which correspond, respectively, with Java LTS versions 17, 11, and 8.
Impacted products
Vendor Product Version
Apache Software Foundation Apache Derby Version: 10.1.1.0    10.1.3.1
Version: 10.2.1.6    10.2.2.0
Version: 10.3.1.4    10.3.3.0
Version: 10.4.1.3    10.4.2.0
Version: 10.5.1.1    10.5.3.0
Version: 10.6.1.0    10.6.2.1
Version: 10.7.1.1
Version: 10.8.1.2    10.8.3.0
Version: 10.9.1.0
Version: 10.10.1.1    10.10.2.0
Version: 10.11.1.1
Version: 10.12.1.1
Version: 10.13.1.1
Version: 10.14.2.0
Version: 10.15.1.3    10.15.2.0
Version: 10.16.1.1
Create a notification for this product.
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"
      },
      {
        "metrics": [
          {
            "cvssV3_1": {
              "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"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2022-46337",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-06-10T13:43:46.007775Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-74",
                "description": "CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (\u0027Injection\u0027)",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-06-10T13:44:34.288Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "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": "2025-06-10T13:44:34.288Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"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\": {\"orgId\": \"f0158376-9dc2-43b6-827c-5f631a4d8d09\", \"shortName\": \"apache\", \"dateUpdated\": \"2024-01-03T17:04:10.464Z\"}, \"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\"}}, \"adp\": [{\"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-03T14:31:46.301Z\"}, \"title\": \"CVE Program Container\", \"references\": [{\"tags\": [\"vendor-advisory\", \"x_transferred\"], \"url\": \"https://lists.apache.org/thread/q23kvvtoohgzwybxpwozmvvk17rp0td3\"}]}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 9.8, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"CRITICAL\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"HIGH\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2022-46337\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-06-10T13:43:46.007775Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-74\", \"description\": \"CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (\u0027Injection\u0027)\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-06-10T13:44:21.845Z\"}}]}",
      "cveMetadata": "{\"cveId\": \"CVE-2022-46337\", \"assignerOrgId\": \"f0158376-9dc2-43b6-827c-5f631a4d8d09\", \"state\": \"PUBLISHED\", \"assignerShortName\": \"apache\", \"dateReserved\": \"2022-11-29T16:35:03.918Z\", \"datePublished\": \"2023-11-20T08:49:38.619Z\", \"dateUpdated\": \"2025-06-10T13:44:34.288Z\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


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.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • 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…

Loading…