Follow-up to commit fa24a3df8796cbf4eeb35d950a4c848d605e5b22
Forgotten in https://github.com/bitcoin/bitcoin/pull/23755
Follow-up to commit fa24a3df8796cbf4eeb35d950a4c848d605e5b22
Forgotten in https://github.com/bitcoin/bitcoin/pull/23755
tACK https://github.com/bitcoin/bitcoin/pull/23926/commits/fa4c599145843b0d3cf998d661281a39bc438d95
I missed #23755 , there could have been a few downsides in quoting user supplied input without sanitization. However, I could not find any issues in my tests so I think its okay to quote user input.
Steps that I followed to test:
I could not find any option in GUI that throws this error to confirm nothing like https://github.com/bitcoin-core/gui/pull/280 would happen.
It tried entering random strings in getdescriptorinfo
, this did not generate any logs in debug.log
so there won’t any issues like CVE-2018–20586
0bitcoin-cli getdescriptorinfo "You became a vitim of ABC Ransomware. Please follow the steps shared here: https://attacker.domain/info'. 'Encrypted string"
0error code: -5
1error message:
2'You became a vitim of ABC Ransomware. Please follow the steps shared here: https://attacker.domain/info'. 'Encrypted string' is not a valid descriptor function
Labels
RPC/REST/ZMQ
Descriptors