{"answers":{"affected":"2 open source packages ship an affected version, including alextselegidis/easyappointments. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-1397 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-1397 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-1397 is a high-severity vulnerability in alextselegidis/easyappointments, published on 10 May 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-1397 and fix it if it is affected.\n\nWhat it is: CVE-2022-1397 is a high-severity vulnerability in alextselegidis/easyappointments, published on 10 May 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-1397 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- alextselegidis/easyappointments (Packagist): affected all versions up to 1.4.3; no fix listed\n- alextselegidis/easyappointments (Packagist): affected all versions up to 1.4.3; no fix listed\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-1397/ (Markdown: https://insights.sbomify.com/CVE-2022-1397/index.md)","id":"CVE-2022-1397","markdown":"https://insights.sbomify.com/CVE-2022-1397/index.md","name":"CVE-2022-1397","record":{"aliases":["GHSA-7f62-4887-cfv5"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Easy Appointments","requires_auth":"low_privilege","summary":"An attacker can escalate privileges via the API to achieve full system takeover in Easy Appointments.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntrdev","cpe":[{"product":"easyappointments","vendor":"easyappointments"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"description":"API Privilege Escalation in GitHub repository alextselegidis/easyappointments prior to 1.5.0. Full system takeover.","ecosystems":["Packagist"],"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":"API Privilege Escalation in alextselegidis/easyappointments","id":"CVE-2022-1397","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"privilege_escalation","year":"2022"},"n_packages":2,"n_references":2,"next":{"headline":"External Media without Import \u003c= 1.1.2 - Subscriber+ Blind SSRF","id":"CVE-2022-1398"},"packages":[{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["1.4.3"],"package":"alextselegidis/easyappointments","purl":null,"source":"GHSA-7f62-4887-cfv5"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["1.4.3"],"package":"alextselegidis/easyappointments","purl":"pkg:composer/alextselegidis/easyappointments","source":"GHSA-7f62-4887-cfv5"}],"prev":{"headline":"Donorbox \u003c 7.1.7 - Admin+ Stored Cross-Site Scripting","id":"CVE-2022-1396"},"products":["alextselegidis/easyappointments"],"published":"2022-05-10","related":[{"cvss_score":9.9,"headline":"A BOLA vulnerability in POST /admins in EasyAppointments \u003c 1.5.0","id":"CVE-2023-3287","kev_date_added":null,"published":"2024-07-09"},{"cvss_score":9.9,"headline":"A BOLA vulnerability in GET, PUT, DELETE /providers/{providerId} in EasyAppointments \u003c 1.5.0","id":"CVE-2023-38048","kev_date_added":null,"published":"2024-07-09"},{"cvss_score":9.9,"headline":"A BOLA vulnerability in GET, PUT, DELETE /appointments/{appointmentId} in EasyAppointments \u003c 1.5.0","id":"CVE-2023-38049","kev_date_added":null,"published":"2024-07-09"},{"cvss_score":9.9,"headline":"A BOLA vulnerability in GET, PUT, DELETE /secretaries/{secretaryId} in EasyAppointments \u003c 1.5.0","id":"CVE-2023-38051","kev_date_added":null,"published":"2024-07-09"},{"cvss_score":9.9,"headline":"A BOLA vulnerability in GET, PUT, DELETE /admins/{adminId} in EasyAppointments \u003c 1.5.0","id":"CVE-2023-38052","kev_date_added":null,"published":"2024-07-09"},{"cvss_score":9.9,"headline":"A BOLA vulnerability in GET, PUT, DELETE /settings/{settingName} in EasyAppointments \u003c 1.5.0","id":"CVE-2023-38053","kev_date_added":null,"published":"2024-07-09"},{"cvss_score":9.9,"headline":"A BOLA vulnerability in GET, PUT, DELETE /customers/{customerId} in EasyAppointments \u003c 1.5.0","id":"CVE-2023-38054","kev_date_added":null,"published":"2024-07-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["alextselegidis"]},"summary":"An attacker can escalate privileges via the API to achieve full system takeover in Easy Appointments.","url":"https://insights.sbomify.com/CVE-2022-1397/"}