Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

Commit 69c43ad

Browse files
authored
Merge pull request #838 from arangodb/bug-fix/APM-78
[APM-78]: Disable installation from remote URL
2 parents 923559d + 4ee73e3 commit 69c43ad

File tree

4 files changed

+51
-0
lines changed

4 files changed

+51
-0
lines changed

3.10/security-security-options.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,3 +354,14 @@ in an ArangoDB server:
354354
application Github repository at
355355
[github.com/arangodb/foxx-apps](https://github.com/arangodb/foxx-apps){:target="_blank"}.
356356
The default value is `true`.
357+
358+
- `--foxx.allow-install-from-remote`:
359+
When set to `false`, this option prevents installation of Foxx apps from any
360+
remote source other than Github and diactivates the **Remote** tab in the **Services**
361+
section of the web interface. Installing apps from Github and/or zip files is
362+
still possible with this setting, but any other remote sources are blocked.
363+
When set to `true`, installing Foxx apps from other remote sources via URLs
364+
is allowed.
365+
The default value is `false`.
366+
Note: this option was introduced in ArangoDB v3.8.5.
367+

3.8/security-security-options.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,3 +332,15 @@ in an ArangoDB server:
332332
application Github repository at
333333
[github.com/arangodb/foxx-apps](https://github.com/arangodb/foxx-apps){:target="_blank"}.
334334
The default value is `true`.
335+
336+
- `--foxx.allow-install-from-remote`:
337+
When set to `false`, this option prevents installation of Foxx apps from any
338+
remote source other than Github and diactivates the **Remote** tab in the **Services**
339+
section of the web interface. Installing apps from Github and/or zip files is
340+
still possible with this setting, but any other remote sources are blocked.
341+
When set to `true`, installing Foxx apps from other remote sources via URLs
342+
is allowed.
343+
For security purposes, it's recommended to set this option to `false`.
344+
In 3.8 the default value is `true`, but starting from ArangoDB 3.9 it will
345+
be set to `false`.
346+
Note: this option was introduced in ArangoDB v3.8.5.

3.9/release-notes-upgrading-changes39.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,23 @@ Also see [Known limitations for AQL queries](aql/fundamentals-limitations.html).
7272
Startup options
7373
---------------
7474

75+
### Installing Foxx apps from remote URLS
76+
77+
The `--foxx.allow-install-from-remote` option controls whether installing Foxx apps
78+
from remote URL sources other than Github is allowed. If set to `false`,
79+
installing Foxx apps is blocked for any remote sources other than Github. Installing
80+
Foxx apps from Github or from uploaded zip files is still possible with this
81+
option.
82+
Setting it to `true` will allow installing Foxx apps from any remote
83+
URL sources.
84+
85+
In ArangoDB 3.9, the default value for this option is `false`, meaning that
86+
installing Foxx apps from remote sources other than Github is now disallowed. This
87+
also inactivates the **Remote** tab in the **Services** section of the web interface.
88+
Compared to the previous versions of ArangoDB, this is a downwards-incompatible default
89+
value change, which was made for security reasons. To enable installing
90+
apps from remote sources again, set this option to `true`.
91+
7592
### RocksDB options
7693

7794
The default value for the startup `--rocksdb.max-subcompactions` option was

3.9/security-security-options.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,3 +354,14 @@ in an ArangoDB server:
354354
application Github repository at
355355
[github.com/arangodb/foxx-apps](https://github.com/arangodb/foxx-apps){:target="_blank"}.
356356
The default value is `true`.
357+
358+
- `--foxx.allow-install-from-remote`:
359+
When set to `false`, this option prevents installation of Foxx apps from any
360+
remote source other than Github and diactivates the **Remote** tab in the **Services**
361+
section of the web interface. Installing apps from Github and/or zip files is
362+
still possible with this setting, but any other remote sources are blocked.
363+
When set to `true`, installing Foxx apps from other remote sources via URLs
364+
is allowed.
365+
The default value is `false`.
366+
Note: this option was introduced in ArangoDB v3.8.5.
367+

0 commit comments

Comments
 (0)