{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-31119 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-31119 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-31119 is a low-severity vulnerability in nextcloud security-advisories, published on 4 Aug 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-31119 and fix it if it is affected.\n\nWhat it is: CVE-2022-31119 is a low-severity vulnerability in nextcloud security-advisories, published on 4 Aug 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-31119 in the wild and no public exploit code.\n\nAffected product: nextcloud security-advisories. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-31119/ (Markdown: https://insights.sbomify.com/CVE-2022-31119/index.md)","id":"CVE-2022-31119","markdown":"https://insights.sbomify.com/CVE-2022-31119/index.md","name":"CVE-2022-31119","record":{"aliases":["GHSA-63m3-w68h-3wjg"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","account_takeover"],"network_reachable":"yes","non_default_config":true,"product_category":"Nextcloud Mail App","requires_auth":"high_privilege","summary":"Nextcloud Mail logs user passwords to disk during misconfiguration, allowing attackers with log access to take over accounts.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"mail","vendor":"nextcloud"}],"cvss":{"score":3.1,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"description":"Nextcloud Mail is an email application for the nextcloud personal cloud product. Affected versions of Nextcloud mail would log user passwords to disk in the event of a misconfiguration. Should an attacker gain access to the logs complete access to affected accounts would be obtainable. It is recommended that the Nextcloud Mail is upgraded to 1.12.1. Operators should inspect their logs and remove passwords which have been logged. There are no workarounds to prevent logging in the event of a misconfiguration.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Password disclosure in log file in Nextcloud Mail App","id":"CVE-2022-31119","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2022"},"n_packages":0,"n_references":3,"next":{"headline":"Federated share accepting/declining is not logged in audit log in Nextcloud Server","id":"CVE-2022-31120"},"packages":[],"prev":{"headline":"Missing brute force protection on cloud federation sharing in Nextcloud Server","id":"CVE-2022-31118"},"products":["security-advisories"],"published":"2022-08-04","related":[{"cvss_score":8.8,"headline":"Missing permission check on email metadata retrieval","id":"CVE-2021-32652","kev_date_added":null,"published":"2021-06-01"},{"cvss_score":8.3,"headline":"Unauthenticated SSRF in 3rd party module \"cerdic/csstidy\"","id":"CVE-2022-31132","kev_date_added":null,"published":"2022-08-04"},{"cvss_score":8.2,"headline":"Nextcloud Mail auto configurator can be tricked into sending account information to wrong servers","id":"CVE-2024-52508","kev_date_added":null,"published":"2024-11-15"},{"cvss_score":5,"headline":"Blind SSRF via server URL input in the Nextcloud Mail app","id":"CVE-2023-23943","kev_date_added":null,"published":"2023-02-06"},{"cvss_score":4.3,"headline":"Require strict cookies for image proxy requests in Nextcloud Mail","id":"CVE-2023-45660","kev_date_added":null,"published":"2023-10-16"},{"cvss_score":4.3,"headline":"Bypass of image blocking in Nextcloud Mail","id":"CVE-2021-32707","kev_date_added":null,"published":"2021-07-12"},{"cvss_score":4.1,"headline":"IDOR Vulnerability in Nextcloud Mail","id":"CVE-2023-25160","kev_date_added":null,"published":"2023-02-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["nextcloud"]},"summary":"Nextcloud Mail logs user passwords to disk during misconfiguration, allowing attackers with log access to take over accounts.","url":"https://insights.sbomify.com/CVE-2022-31119/"}