Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.isis.core/isis-core
  4. ›
  5. CVE-2022-42467

CVE-2022-42467: Insecure Default Initialization of Resource

October 19, 2022 (updated October 20, 2022)

When running in prototype mode, the h2 webconsole module (accessible from the Prototype menu) is automatically made available with the ability to directly query the database. It was felt that it is safer to require the developer to explicitly enable this capability. As of 2.0.0-M8, this can now be done using the isis.prototyping.h2-console.web-allow-remote-access configuration property; the web console will be unavailable without setting this configuration. As an additional safeguard, the new isis.prototyping.h2-console.generate-random-web-admin-password configuration parameter (enabled by default) requires that the administrator use a randomly generated password to use the console. The password is printed to the log, as “webAdminPass: xxx” (where “xxx”) is the password. To revert to the original behaviour, the administrator would therefore need to set these configuration parameter: isis.prototyping.h2-console.web-allow-remote-access=true isis.prototyping.h2-console.generate-random-web-admin-password=false Note also that the h2 webconsole is never available in production mode, so these safeguards are only to ensure that the webconsole is secured by default also in prototype mode.

References

  • www.openwall.com/lists/oss-security/2022/10/19/1
  • github.com/advisories/GHSA-998r-j9rx-qm8m
  • github.com/apache/isis/commit/9fcab9816dac37e0f07ffe3f5c4f47df9cec8694
  • lists.apache.org/thread/jbv2ddt00h7ntlbm6vkk4wdmb31pm8q3
  • nvd.nist.gov/vuln/detail/CVE-2022-42467

Code Behaviors & Features

Detect and mitigate CVE-2022-42467 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.0.0-m8

Fixed versions

  • 2.0.0-M8

Solution

Upgrade to version 2.0.0-M8 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-1188: Initialization of a Resource with an Insecure Default

Source file

maven/org.apache.isis.core/isis-core/CVE-2022-42467.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:49 +0000.