CVE-2023-1540 Observable Response Discrepancy in answerdev/answer

Medium 5.3 Published Updated

An attacker can exploit response discrepancies to gain unauthorized information from the Answer Q&A platform.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-1540?

CVE-2023-1540 is a medium-severity vulnerability in answerdev/answer, published on 21 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Observable Response Discrepancy in GitHub repository answerdev/answer prior to 1.0.6.

Weakness: CWE-203, CWE-204

Which versions are affected by CVE-2023-1540?

3 open source packages ship an affected version, including github.com/answerdev/answer. It affects 1 product.

PackageAffectedFixed in
github.com/answerdev/answer GoAll versions1.0.6
github.com/answerdev/answer GoAll versions1.0.6
github.com/answerdev/answer GoAll versions1.0.6

Products include Answer Answer.

How do I fix CVE-2023-1540?

Upgrade github.com/answerdev/answer to 1.0.6 or later.

Is CVE-2023-1540 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-1540 exists.

Sources

Also known as GHSA-6x5v-cxpp-pc5x, GO-2023-1654.

Is CVE-2023-1540 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free