-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b9eaaee
commit 29aa58a
Showing
9 changed files
with
108 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package = "fennel" | ||
local fennel_version = "1.4.0" | ||
version = (fennel_version .. "-1") | ||
source = {url = ("https://fennel-lang.org/downloads/fennel-" .. fennel_version .. ".tar.gz")} | ||
description = {summary = "A lisp that compiles to Lua", detailed = ("Get your parens on--write macros and " .. "homoiconic code on the Lua runtime!"), license = "MIT", homepage = "https://fennel-lang.org/"} | ||
dependencies = {"lua >= 5.1"} | ||
build = {type = "builtin", install = {bin = {fennel = "fennel"}}, modules = {fennel = "fennel.lua"}} | ||
return nil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,22 @@ From 1.0 onwards, releases are also signed with `.sig` files using SSH keys: | |
You can compare the key in the [allowed][5] file with the keys | ||
published at [technomancy.us][6], [SourceHut][7], or [GitHub][8]. | ||
|
||
## Historical Issues | ||
|
||
In versions from 1.0.0 to 1.3.1, it was possible for code running in | ||
the compiler sandbox to call un-sandboxed functions from applications | ||
or Fennel libraries when running with metadata enabled. This could | ||
result in RCE when evaluating untrusted code in a way that relied on | ||
the sandbox for services running with metadata enabled. | ||
|
||
In addition, even when metadata was disabled, it was still possible | ||
for sandboxed code to trigger loading of a module already on the load | ||
path. In most cases if an attacker can get a file on the load-path | ||
then they've already won, but in the context of tools that run static | ||
analysis on untrusted code, this could result in a vulnerability. | ||
|
||
Versions prior to 1.0.0 did not sandbox macros. | ||
|
||
[1]: mailto:[email protected] | ||
[2]: mailto:[email protected] | ||
[3]: https://technomancy.us/8F2C85FFC1EBC016A3B683DE8BD38C28CCFD2DA6.txt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters