漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Algernon: Race Condition in handle() shared LState
Vulnerability Description
Algernon is a small self-contained pure-Go web server. Prior to 1.17.6, in engine/luahandler.go, the sync.RWMutex protecting LoadCommonFunctions is released before L.Push() and L.PCall() execute. Since gopher-lua's LState is explicitly not goroutine-safe, concurrent requests race on the shared state causing Lua VM corruption. The Go race detector confirms this immediately under modest concurrency (ab -n 1000 -c 100). This vulnerability is fixed in 1.17.6.
CVSS Information
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Vulnerability Type
使用共享资源的并发执行不恰当同步问题(竞争条件)
Vulnerability Title
algernon 竞争条件问题漏洞
Vulnerability Description
algernon是Alexander F. Rødseth个人开发者的一个 Web 服务器。 Algernon 1.17.6之前版本存在竞争条件问题漏洞,该漏洞源于engine/luahandler.go中保护LoadCommonFunctions的sync.RWMutex在L.Push()和L.PCall()执行前释放,由于gopher-lua的LState明确不支持goroutine安全,并发请求竞争共享状态可能导致Lua虚拟机损坏。
CVSS Information
N/A
Vulnerability Type
N/A