Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
OliveTin has a Concurrent Template Parsing Race Condition which Leads to Cross-Request Command Contamination
Vulnerability Description
OliveTin gives access to predefined shell commands from a web interface. In versions 3000.0.0 and prior, the template engine uses a single shared text/template.Template instance (tpl package-level variable in service/internal/tpl/templates.go) across all goroutines. Every action execution calls tpl.Parse(source) followed by t.Execute() on this shared instance with no synchronization. When two or more actions execute concurrently (which is the normal case — each ExecRequest spawns a goroutine), a race condition occurs: one goroutine's Parse overwrites the template tree while another goroutine is calling Execute, causing cross-user command contamination, Go runtime panic, and incorrect command execution. This issue has been resolved in version 3000.13.0.
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Vulnerability Type
使用共享资源的并发执行不恰当同步问题(竞争条件)
Vulnerability Title
OliveTin 竞争条件问题漏洞
Vulnerability Description
OliveTin是OliveTin团队开源的一个Web应用。 OliveTin 3000.0.0及之前版本存在竞争条件问题漏洞,该漏洞源于模板引擎在跨所有goroutine使用单个共享text/template.Template实例时存在竞争条件,可能导致跨用户命令污染、Go运行时恐慌以及命令执行错误。
CVSS Information
N/A
Vulnerability Type
N/A