{"id":"UBUNTU-CVE-2021-37832","details":"A SQL injection vulnerability exists in version 3.0.2 of Hotel Druid when SQLite is being used as the application database. A malicious attacker can issue SQL commands to the SQLite database through the vulnerable idappartamenti parameter.","modified":"2026-01-20T17:17:21.371632Z","published":"2021-08-03T13:15:00Z","upstream":["CVE-2021-37832"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-37832"},{"type":"REPORT","url":"https://github.com/dievus/CVE-2021-37832"},{"type":"REPORT","url":"https://www.hoteldruid.com"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-37832"}],"affected":[{"package":{"name":"hoteldruid","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/hoteldruid@2.1.4-1ubuntu2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.0-1","2.1.3-1","2.1.4-1","2.1.4-1ubuntu1","2.1.4-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"hoteldruid","binary_version":"2.1.4-1ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-37832.json"}},{"package":{"name":"hoteldruid","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/hoteldruid@2.2.2-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.1-1","2.2.2-1"],"ecosystem_specific":{"binaries":[{"binary_name":"hoteldruid","binary_version":"2.2.2-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-37832.json"}},{"package":{"name":"hoteldruid","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/hoteldruid@3.0.1-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.2-1","3.0.0-1","3.0.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"hoteldruid","binary_version":"3.0.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-37832.json"}},{"package":{"name":"hoteldruid","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/hoteldruid@3.0.3-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.1-1","3.0.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"hoteldruid","binary_version":"3.0.3-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-37832.json"}},{"package":{"name":"hoteldruid","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/hoteldruid@3.0.6-1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.5-1","3.0.6-1"],"ecosystem_specific":{"binaries":[{"binary_name":"hoteldruid","binary_version":"3.0.6-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-37832.json"}},{"package":{"name":"hoteldruid","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/hoteldruid@3.0.6-1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.6-1"],"ecosystem_specific":{"binaries":[{"binary_name":"hoteldruid","binary_version":"3.0.6-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-37832.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}