{"id":"GHSA-v5wf-jg37-r9m5","revision":"671e1539a0b0460f9666c824e9d8f827","records":[{"revision":"671e1539a0b0460f9666c824e9d8f827","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-v5wf-jg37-r9m5","aliases":["CVE-2023-42454"],"title":"SQLpage vulnerable to public exposure of database credentials","description":"### Impact\n\nIf\n - you are using a SQLPage version older than v0.11.1 \n - your SQLPage instance is exposed publicly\n - the database connection string is specified in the `sqlpage/sqlpage.json` configuration file (not in an environment variable)\n - the web_root is the current working directory (the default)\n - your database is exposed publicly\n\nthen an attacker could retrieve the database connection information from SQLPage and use it to connect to your database directly.\n\n### Patches\n\nUpgrade to [v0.11.1](https://github.com/lovasoa/SQLpage/releases/tag/v0.11.1) as soon as possible.\n\n### Workarounds\n\nIf you cannot upgrade immediately:\n\n - Using an environment variable instead of the configuration file to specify the database connection string prevents exposing it on vulnerable versions.\n - Using a different [web root](https://github.com/lovasoa/SQLpage/blob/main/configuration.md) (that is not a parent of the SQLPage configuration directory) fixes the issue.\n - And in any case, you should generally avoid exposing your database publicly \n\n### References\n\nhttps://github.com/lovasoa/SQLpage/issues/89\n","state":0,"publishedAt":"2023-09-21T17:10:06+00:00","modifiedAt":"2026-09-10T03:50:03.3032881+00:00","affected":[{"ecosystem":"crates.io","name":"sqlpage","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.11.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/lovasoa/SQLpage/security/advisories/GHSA-v5wf-jg37-r9m5","https://nvd.nist.gov/vuln/detail/CVE-2023-42454","https://github.com/lovasoa/SQLpage/issues/89","https://github.com/lovasoa/SQLpage","https://github.com/lovasoa/SQLpage/releases/tag/v0.11.1"],"sourceUrl":"https://github.com/advisories/GHSA-v5wf-jg37-r9m5","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-v5wf-jg37-r9m5","identifiers":["GHSA-v5wf-jg37-r9m5","CVE-2023-42454"]},"retained":false,"historicalAffected":[]}],"coverage":[]}