cve-2022-46337
Vulnerability from cvelistv5
Published
2023-11-20 08:49
Modified
2024-08-03 14:31
Severity ?
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",
         },
      ],
      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 4ra1n 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't 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<br>\n<br>Mitigation:\n<br>Users should upgrade to Java 21 and Derby 10.17.1.0.\n<br>Alternatively, 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<br>\n<br>",
                  },
               ],
               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't 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",
   "vulnerability-lookup: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't 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ñado podría omitir las comprobaciones de autenticación LDAP. En instalaciones Derby autenticadas por LDAP, esto podría permitir que un atacante llene el disco creando bases de datos Derby basura. En instalaciones de Derby autenticadas por LDAP, esto también podría permitir al atacante ejecutar malware que era visible y ejecutable por la cuenta que arrancó el servidor Derby. En bases de datos protegidas por LDAP que tampoco estaban protegidas por la autorización SQL GRANT/REVOKE, esta vulnerabilidad también podría permitir que un atacante vea y corrompa datos confidenciales y ejecute funciones y procedimientos de bases de datos confidenciales. Mitigación: 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ón Derby a partir de una de las familias de versiones a las que se admitió la solución: 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.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



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.